From: Bernie Innocenti Date: Tue, 12 Oct 2010 11:02:57 +0000 (-0400) Subject: Fix path in EditPage form action X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=db87ce4246027053804585d001f5c1b9a6b8e0c0;p=wiki.git Fix path in EditPage form action --- diff --git a/sys/EditPage b/sys/EditPage index b33b583..a6deb5e 100644 --- a/sys/EditPage +++ b/sys/EditPage @@ -1,6 +1,6 @@ **Editing <> for <> from <>**
-
+ diff --git a/sys/macros/CgiVar.py b/sys/macros/CgiVar.py index b29f5d4..2f0797a 100644 --- a/sys/macros/CgiVar.py +++ b/sys/macros/CgiVar.py @@ -6,6 +6,7 @@ def _macro_CgiVar(*args, **kvargs): if args[1].startswith('HTTP_'): return os.environ.get(args[1], '') return { + 'SCRIPT_NAME': script_name(), 'REMOTE_USER': remote_user(), 'REMOTE_HOST': get_hostname(remote_host()), 'REMOTE_ADDR': remote_host(),