php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29945 simplexml_load_file URL limitation 255 char?
Submitted: 2004-09-02 05:43 UTC Modified: 2004-09-06 12:20 UTC
From: hinrichs at islco dot com Assigned:
Status: Closed Package: SimpleXML related
PHP Version: 5.0.1 OS: WINNT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hinrichs at islco dot com
New email:
PHP Version: OS:

 

 [2004-09-02 05:43 UTC] hinrichs at islco dot com
Description:
------------
Putting a long URL into simplexml_load_file:

symptom: Apache does not return any data.  Chopping params off the query to make it < 255 characters long, however, works.

Reproduce code:
---------------
simplexml_load_file('http://aws-beta.amazon.com/onca/xml?Service=AWSProductData&SubscriptionId=1WY05MXT3WM2PXMB12G2&AssociateTag=harappabazaar&ResponseGroup=Medium&Operation=ItemSearch&SearchIndex=Electronics&BrowseNode=281052&ItemPage=1&Sort=price&MaximumPrice=40000&MinimumPrice=30000');

Expected result:
----------------
For it to work same as shorter urls.

Actual result:
--------------
Document contains no data; apache crashes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-06 12:20 UTC] rrichards@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 11:01:31 2024 UTC