Package: dwww Version: 1.14 Severity: wishlist The dwww configuration file "/etc/dwww/dwww.conf" statess
"The file is in Bourne shell script format, thus no spaces may be used in variables assignments." which gives a false impression since the configuration file is in fact read using the Perl configuration file /usr/share/perl5/Debian/Dwww/ConfigFile.pm which parses the entries using the regular expression on line 150 (m/^\s*([^=]+)\s*=\s*['"]?([^'"\s]+)['"]?\s*$/) This expression deoes not enforce that the type of quote for the end of the parameter value matches the type of quote used for the end of the parameter value ie the starting quote can be a single quote and the cloing quote van be a double quote or vice versa, which seems rather strange. Since the default title contains a space vis 'dwww: your_hostname' it is surely not unreasonable to override this with a custom title containning one or more spaces. It would be simple to add if condition that if the parameter is DWWW_TITLE then a different regular expression is used without the restriction of not allowing one or more spaces in the string. Further it could also be permitted that if the opening and closing quotes are limitd to double quotes for the DWWW_TITLE parameter, then one or ore single quotes would be permitted in the string which would allow possessives eg "Debian's" to be used. Thanking your for your consideration of these suggested improvements to the dwww package. -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: armel (armv5tel) Kernel: Linux 5.10.0-18-marvell Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US), LANGUAGE=en_US.UTF-8 Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dwww depends on: ii debconf [debconf-2.0] 1.5.77 ii debianutils 4.11.2 ii doc-base 0.11.1 ii file 1:5.39-3 ii libc6 2.31-13+deb11u4 ii libfile-ncopy-perl 0.36-2.1 ii libmime-types-perl 2.18-1 ii lighttpd [httpd-cgi] 1.4.59-1+deb11u1 ii man-db 2.9.4-2 ii mime-support 3.66 ii perl 5.32.1-4+deb11u2 ii sensible-utils 0.0.14 ii ucf 3.0043 Versions of packages dwww recommends: ii apt 2.2.4 ii dlocate 1.07+nmu1 ii info2www 1.2.2.9-24.1 ii lighttpd [httpd] 1.4.59-1+deb11u1 ii swish++ 6.1.5-5 Versions of packages dwww suggests: ii doc-debian 6.5 ii dpkg-www 2.61 pn links | www-browser <none> -- debconf information excluded