You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/12/14 16:06:29 UTC

DO NOT REPLY [Bug 41177] New: - Not handleing MIME type application/x-www-form-urlencode properly.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41177

           Summary: Not handleing MIME type application/x-www-form-urlencode
                    properly.
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Keywords: RFC
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: miles@milespawski.com


When using the POST (MIME) method 'application/x-www-form-urlencode' to send
information (via POST method), the server should replace all spaces with the "+"
sign.  Apache version 2.2.3 does not do this.  My old version, 2.0.59 did as did
2.0.55 and 2.0.47.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41177] - Not handleing MIME type application/x-www-form-urlencode properly.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41177


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From rpluem@apache.org  2006-12-14 12:39 -------
What application is handling your POST request? Is it cgi, a reverse proxied
backend or application server, PHP, mod_perl,.....

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41177] - Not handleing MIME type application/x-www-form-urlencode properly.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41177





------- Additional Comments From miles@milespawski.com  2006-12-14 14:18 -------
(In reply to comment #3)
> (In reply to comment #2)
> > The POST is sent from a javascript (jscript) client (xmlhttp-ajax-type 
method) 
> > to the server and collected with PHP 5.2.0.  I assumed that this was a 
> > function of the web server and not PHP.  Maybe I'm wrong, but PHP 5.2.0 
worked
> Yes and no. Maybe PHP uses a function provided by httpd's API or by apr or by
> apr-util to do this and I would not rule out per se that there can be an 
error
> in this code.
> OTH I doubt that PHP uses code from httpd / apr / apr-util to perform this 
kind
> of operation as it is designed to run in and with different webservers not 
only
> httpd. So it does not really make sense for them to rely on webserver 
specific
> code for such a generic operation.
> I guess the best starting point for this is to open a bug with PHP at
> http://bugs.php.net/. This at least allows to narrow things down and if it 
turns
> out that a call to httpd / apr / apr-util code delivers the wrong result 
simply
> come back here and open a new report with the specific error that has been
> found. Thus marking the report invalid for now. 
>  

Ok fair enough.  Thanks for your help.  I can get around the bug with php code 
in the POST data receipt container, but I will file a bug report with PHP.    
Thanks again.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41177] - Not handleing MIME type application/x-www-form-urlencode properly.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41177


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From rpluem@apache.org  2006-12-14 13:58 -------
(In reply to comment #2)
> The POST is sent from a javascript (jscript) client (xmlhttp-ajax-type method) 
> to the server and collected with PHP 5.2.0.  I assumed that this was a 
> function of the web server and not PHP.  Maybe I'm wrong, but PHP 5.2.0 worked

Yes and no. Maybe PHP uses a function provided by httpd's API or by apr or by
apr-util to do this and I would not rule out per se that there can be an error
in this code.
OTH I doubt that PHP uses code from httpd / apr / apr-util to perform this kind
of operation as it is designed to run in and with different webservers not only
httpd. So it does not really make sense for them to rely on webserver specific
code for such a generic operation.
I guess the best starting point for this is to open a bug with PHP at
http://bugs.php.net/. This at least allows to narrow things down and if it turns
out that a call to httpd / apr / apr-util code delivers the wrong result simply
come back here and open a new report with the specific error that has been
found. Thus marking the report invalid for now. 
 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 41177] - Not handleing MIME type application/x-www-form-urlencode properly.

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41177>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41177





------- Additional Comments From miles@milespawski.com  2006-12-14 13:13 -------
(In reply to comment #1)
> What application is handling your POST request? Is it cgi, a reverse proxied
> backend or application server, PHP, mod_perl,.....

The POST is sent from a javascript (jscript) client (xmlhttp-ajax-type method) 
to the server and collected with PHP 5.2.0.  I assumed that this was a 
function of the web server and not PHP.  Maybe I'm wrong, but PHP 5.2.0 worked 
with an older version of the apache server.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org