Webmin's Built-in configuration Editor has texts coloring issue, not coloring properly when a wildcard (*) is in it.

While using the built-in editor in webmin for editing .conf files,

I noticed there's a coloriing of texts breaking when a wildcard (*) is in .conf files.

In nginx.conf, sometimes, there's a /* included in a file path calling.

e.g. include /usr/share/nginx/modules/*.conf; <-- slash wildcard

/* causes coloring to break or grey out all the texts below it.

Previous versions of webmin had no such issue.

Recent version seems to carry out /* (slash wildcard) as an omit/comment lines symbol.

Status: 
Fixed (pending)
Virtualmin version: 
6.16
Webmin version: 
1.973

Comments

Ilia's picture
Submitted by Ilia on Thu, 04/15/2021 - 14:26

Hi,

Thanks for reporting.

This was actually a bug in Nginx conf highlight lib.

It will be fixed with theme 19.75 release.