Up to [cvsweb.bsd.lv] / mandoc
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.6 / (download) - annotate - [select for diffs], Sat Mar 18 16:48:24 2017 UTC (4 years, 10 months ago) by schwarze
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2, HEAD
Changes since 1.5: +0 -1 lines
Diff to previous 1.5 (unified)
Simplify: write HTTP 303 redirects with relative locations. Suggested by bentley@. Delete the HTTP_HOST configuration variable that is now obsolete.
Revision 1.5 / (download) - annotate - [select for diffs], Fri Mar 18 13:22:27 2016 UTC (5 years, 10 months ago) by schwarze
CVS Tags: VERSION_1_14_1, VERSION_1_13_4, VERSION_1_13
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (unified)
Make the SCRIPT_NAME logic simpler, safer, and make it actually work; in part based on ideas by bentley@. While here, improve the documentation.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Nov 5 20:55:41 2015 UTC (6 years, 2 months ago) by schwarze
Changes since 1.3: +0 -2 lines
Diff to previous 1.3 (unified)
Use include files "header.html" and "footer.html" rather than a compiled-in string. This is not a security risk, we read the file manpath.conf from the same directory, anyway. No error handling is needed; even if the files are absent, that's not an error. This is more flexible without causing complication of the code or the user interface. It helps the upcoming revamp of the online manual pages on man.NetBSD.org. Based on an idea by Jean-Yves Migeon <jeanyves dot migeon at free dot fr>, but implemented in a much simpler way.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 21 15:45:17 2014 UTC (7 years, 6 months ago) by schwarze
CVS Tags: VERSION_1_13_3, VERSION_1_13_2, VERSION_1_13_1
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (unified)
Kristaps points out that the current HTTP/1.1 draft standard (RFC 2616) requires the Location: response-header field to be an absolute URI (14.30), and only the most recent proposed standard (RFC 7231), which is barely a month old, allows a relative Location: (7.1.2). While most modern browsers appear to support relative Location: headers, some may not, and it's maybe a bit early to rely on relative Location: headers. I'm not going back to the HTTP_HOST or SERVER_NAME CGI variables, though. While some CGI programs certainly require those, in which case both the CGI programmer and the web server admin have to be very careful to keep the system secure and reliable, man.cgi(8) does not really need them. We always know at compile time which domain we are running for, and for man.cgi(8), security and reliability are definitely much more important than flexibility. So make HTTP_HOST a compile-time definition for now.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 13 15:38:36 2014 UTC (7 years, 6 months ago) by schwarze
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (unified)
Compatibility hack for the old "manpath=OpenBSD<blank>" query parameter format; unfortunate, more than 400 links needing this are scattered all around the www.openbsd.org website, and CVSweb needs this as well.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Jul 12 18:32:47 2014 UTC (7 years, 6 months ago) by schwarze
No need for run-time configuration, add minimal compile-time configuration facilities, just two paths and two HTML strings. Show the title on all pages, not just the index page.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.