[pmwiki-users] action=crypt issue (pmwiki bug?)
Jean-Fabrice [gmail]
jeanfabrice at gmail.com
Mon Nov 3 09:03:11 CST 2008
btw, I just found this to be an old well known bug referenced as PITS
#1000 and also here :
http://www.pmichaud.com/pipermail/pmwiki-users/2004-December/008722.html
JF
2008/10/31 Jean-Fabrice [gmail] <jeanfabrice at gmail.com>:
> Hi,
> According to http://pmwiki.org/wiki/Cookbook/CleanUrls, $ScriptUrl
> should not ends with a trailing slash. Apache does it's job and send
> back a 302 location when the use ask for a directory without putting a
> trailing slash at the end.
>
> function HandleCrypt (in scripts/crypt.php) creates a form where
> action is set to $ScriptUrl, that is a URL with no trailing slash.
> When this form is posted, my apache sends back a 302 location to add
> the trailing slash. The original post is then lost and so is the
> pmwiki answers to the form request.
>
> Shouldn't HandCrypt creates a form with action=$PageUrl instead ? or
> add a trailing slash when $ScriptUrl does not have one ?
>
> Or maybe my apache is badly configured (but I'm not using apache
> aliases, so I don't have to care with trailing slashes)
>
> JF
>
More information about the pmwiki-users
mailing list