From db87ce4246027053804585d001f5c1b9a6b8e0c0 Mon Sep 17 00:00:00 2001 From: Bernie Innocenti Date: Tue, 12 Oct 2010 07:02:57 -0400 Subject: [PATCH] Fix path in EditPage form action --- sys/EditPage | 2 +- sys/macros/CgiVar.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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(), -- 2.25.1