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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to