X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/2e8e9af1d4161bfe1bfbf1e34b1631b7cc1c1b95..bbfa006e6eb93d56842c1d90bbba1c5484afb855:/cgitrc.5.txt diff --git a/cgitrc.5.txt b/cgitrc.5.txt index cbaebca..104b223 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt @@ -603,7 +603,7 @@ specification with the relevant string; available values are: This is called when the current filtering operation is completed. It must return an integer value. Usually 0 indicates success. - + Additionally, cgit exposes to the Lua the following built-in functions: 'html(str)':: @@ -667,7 +667,7 @@ auth filter:: the http cookie and return a 0 if it is invalid or 1 if it is invalid, in the exit code / close function. If the filter action is "authenticate-post", this filter receives POST'd parameters on - standard input, and should write a complete CGI request, preferably + standard input, and should write a complete CGI response, preferably with a 302 redirect, and write to output one or more "Set-Cookie" HTTP headers, each followed by a newline.