php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1733 parse_url() parsing problem
Submitted: 1999-07-18 17:16 UTC Modified: 1999-07-18 17:49 UTC
From: php3 at mediasniffer dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.11 OS: Linux (Slackware 4.0)
Private report: No CVE-ID: None
 [1999-07-18 17:16 UTC] php3 at mediasniffer dot com
I have encountered a situation where parse_url does not properly gather the correct path. By calling parse_url with a value of "http://www.nowhere.net/site/Toggle..#-A-N/b/Bacon.txt", it wil return "/site/Toggle.." and NOT "/site/Toggle..#-A-N/b/Bacon.txt". I've tried URL encoding the string but it will not parse then.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-18 17:49 UTC] jim at cvs dot php dot net
# introduces a fragment.

See the URI RFC for details.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 22:00:01 2026 UTC