CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2015/11/05 13:55:46
Modified files: usr.bin/mandoc : cgi.c cgi.h.example man.cgi.8 Log message: 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.