**Editing <<HttpGet|q>> for <<CgiVar|REMOTE_USER>> from <<CgiVar|REMOTE_HOST>>**
<div class="editor">
-<form method="post" enctype="multipart/form-data" action="<<HttpGet|q>>" >
+<form method="post" enctype="multipart/form-data" action="<<CgiVar|SCRIPT_NAME>>/<<HttpGet|q>>" >
<input type="hidden" name="a" value="edit">
<input type="hidden" name="q" value="<<HttpGet|q>>">
<textarea wrap="off" autofocus="true" spellcheck="true" id="editor" name="savetext" rows="17" cols="100" accesskey="e"><<EDIT_BODY>></textarea>
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(),