summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib/cgi.py
diff options
context:
space:
mode:
authorhmeland1999-03-02 12:40:56 +0000
committerhmeland1999-03-02 12:40:56 +0000
commit3bbf868d4f5ab576397ed554d839f31f190e4abe (patch)
treeb442b35a7ddbee161ab75fbfa594218ec4b9eb18 /Mailman/pythonlib/cgi.py
parent1c69356864aabc95b209457c556419da6acce332 (diff)
downloadmailman-3bbf868d4f5ab576397ed554d839f31f190e4abe.tar.gz
mailman-3bbf868d4f5ab576397ed554d839f31f190e4abe.tar.zst
mailman-3bbf868d4f5ab576397ed554d839f31f190e4abe.zip
Utils.GetRequestURI(): New function, returns the full virtual path the
calling CGI script was invoked with. Uses (non-standard, but convenient) environment variable REQUEST_URI when available, otherwise SCRIPT_NAME and PATH_INFO (which are part of the CGI/1.1 spec) if available, or simply returns optional argument `fallback' (which defaults to None). Cgi/admin.py, Cgi/admindb.py: Use it when generating admin authentication page.
Diffstat (limited to 'Mailman/pythonlib/cgi.py')
0 files changed, 0 insertions, 0 deletions