summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/cgi.c
AgeCommit message (Expand)Author
2015-10-22use the new function man_validate() here, tooIngo Schwarze
2015-10-20In order to become able to generate syntax tree nodes on the roff(7)Ingo Schwarze
2015-10-13Major character table cleanup:Ingo Schwarze
2015-10-06modernize style: "return" is not a function; ok cmp(1)Ingo Schwarze
2015-04-18Profit from the unified struct roff_man and reduce the number ofIngo Schwarze
2015-04-18Replace the structs mdoc and man by a unified struct roff_man.Ingo Schwarze
2015-03-27Actually use the new man.conf(5) "output" directive.Ingo Schwarze
2015-03-27Parse the new man.conf(5) "output" directive.Ingo Schwarze
2015-02-10trim trailing white space, no code change;Ingo Schwarze
2015-01-15Fatal errors no longer exist.Ingo Schwarze
2014-11-26Make the code sipler and more robust by always assigning a valueIngo Schwarze
2014-11-11In man(1) mode without -a, stop searching after the first manual treeIngo Schwarze
2014-10-28Make the character table available to libroff so it can check theIngo Schwarze
2014-10-07be a bit more patient, 1s is sometimes insufficient for legitimate queriesIngo Schwarze
2014-10-07Switch HTML output to polyglot HTML5; have only one single -Thml mode.Ingo Schwarze
2014-09-14Support backslash-escaping of white space in the query expression,Ingo Schwarze
2014-08-27Add an implementation of man(1) into the /usr/bin/mandoc binary andIngo Schwarze
2014-08-26Unify console and CGI section titles, bringing them closer to groff,Ingo Schwarze
2014-08-21limit CGI process execution time to make REDoS attacks less effective;Ingo Schwarze
2014-08-08mansearch.h uses uint64_t, so it needs stdint.h; found on LinuxIngo Schwarze
2014-07-25Choosing the right encoding is a tricky business...Ingo Schwarze
2014-07-25Sort the URI keys for .Xr links in the same order used by the search form,Ingo Schwarze
2014-07-25oops, we must not try to validate a manpath we don't have;Ingo Schwarze
2014-07-25We cannot easily control the order of the QUERY_STRING keys generatedIngo Schwarze
2014-07-25In generated .Xr links, avoid double encoding of ampersandsIngo Schwarze
2014-07-25Even though this is not XHTML yet, remove some gratuitious violationsIngo Schwarze
2014-07-25The names of all other struct query memebers match the correspondingIngo Schwarze
2014-07-25clean up pg_show() to not modify a string returned from getenv(3)Ingo Schwarze
2014-07-25Rewrite http_parse() completely:Ingo Schwarze
2014-07-24Sort result pages first by section number, then by name.Ingo Schwarze
2014-07-24Provide a dropdown entry "All Architectures" and make it the default.Ingo Schwarze
2014-07-22Security fix to prevent XSS attacks:Ingo Schwarze
2014-07-21fix a minibug reported by kristaps@:Ingo Schwarze
2014-07-21Kristaps points out that the current HTTP/1.1 draft standard (RFCIngo Schwarze
2014-07-19Security fix:Ingo Schwarze
2014-07-19Security fix:Ingo Schwarze
2014-07-18Do not use the HTTP_HOST CGI variable,Ingo Schwarze
2014-07-18When the MAN_DIR/manpath.conf configuration file does not exist or is empty,Ingo Schwarze
2014-07-13Compatibility hack for the old "manpath=OpenBSD<blank>" query parameter format;Ingo Schwarze
2014-07-13Make the calltree a bit easier to understand by giving theIngo Schwarze
2014-07-13make source vs. formatted guessing a bit more robustIngo Schwarze
2014-07-13By popular demand, bring man.cgi default mode closer to what man(1) does:Ingo Schwarze
2014-07-13Install the manuals of the web interface below the same directoryIngo Schwarze
2014-07-12Polish the search form using feedback from beck@ and others,Ingo Schwarze
2014-07-12No need for run-time configuration, add minimal compile-timeIngo Schwarze
2014-07-12Simplify: Delete 74 lines of code including one enum type, oneIngo Schwarze
2014-07-12Start fixing issues that beck@ helped find:Ingo Schwarze
2014-07-12fix the two links on the start pageIngo Schwarze
2014-07-11make http decode linear time. also remove a redundant null check.Ted Unangst
2014-07-11http headers must end lines with CRLF. ok schwarzeTed Unangst