Webpages produced by CGI scripts on www.freebsd.org do not have any DTD declaration nor character encoding. This is due to lack of the features in cgi-lib.pl, used by all the scripts. I do not use cgi-lib.pl, thus I am not sure how to fix it. How-To-Repeat: Try any script from www.freebsd.org/cgi/, e.g. http://validator.w3.org/check?uri=http://www.freebsd.org/cgi/query-pr.cgi Best regards, V.Chukharev
The attached patch, applied in /usr/www/en/cgi/ makes the pages, generated by cgi scripts valid HTML 4.01 Transitional Best regards, V. Chukharev
Attached is a new patch, which includes the previous one (sorry for that). With this patch the of parameter separator in URI '&' should become interchangeable with ';', so that both should work. The change is made in one script only, namely query-pr-summary.cgi Please review and check. I have no possibility for extensive tests at the moment (no GNATS and no time as always:). Are the changes OK to continue? Best regards, V.Chukharev
Can anybody look at this, please? I really believe it can be commited. Well, at least the first two line patch. Best regards, -- V.Chukharev
Responsible Changed From-To: freebsd-www->ceri I'm doing some work around here.
What are problems with commiting this? At least the minimal part? Can I help with additional explanations/references/whatever? Bestregards, -- V.Chukharev
Hello bug-followup, I would say, we can close this PR as we have most of this in cgi-style.pl and query-pr.cgi and query-pr-summary.cgi are already valid xhtml. -- Best regards, Daniel mailto:danger@FreeBSD.org
I agree that this PR can be closed. Side notes. I keep my opinion that a semicolon ';' is a cleaner parameter separator than an ampersand '&'. It is the recomended by w3c separator, too. Currently the separator is used in front of the first parameter like in /cgi/query-pr-summary.cgi?&sort=3Dlastmod , this is not needed. V.Chukharev, PR originator
State Changed From-To: open->closed Close this PR as it is no more accurate. Anyway, thank you for your interest!