www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Roussey <srous...@network54.com>
Subject general/4203: redirect based on 404 turns POST into GET
Date Wed, 07 Apr 1999 03:54:19 GMT

>Number:         4203
>Category:       general
>Synopsis:       redirect based on 404 turns POST into GET
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Apr  6 23:10:01 PDT 1999
>Originator:     sroussey@network54.com
>Release:        1.3.4
Linux 2.0.36
I'm using ErrorDocument 404 directive to redirect to index.php3 so that I can lookup the URL
in a database and display the corresponding page. This works OK, but when a POST form is used,
REQUEST_METHOD is GET, not POST, so PHP does not use the content (even though it has a length,
etc.) to create HTTP_POST_VARS.
see above
If there is a redirect, the post needs to be redirected (at least for 404 redirects), which
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message