Commit graph

42 commits

Author SHA1 Message Date
Christoph M. Becker
e95ae8d94c
Fix #74599: parse_url allows bad characters in the common name
We remove this sentence altogether, because the return values section
provides the correct info now (besides that "invalid" is not specific
enough, the replacement is done on the result, not on the input).
2021-09-24 18:16:24 +02:00
Christoph M. Becker
416b9e9bdb
Fix #68296: \n in path with parse_url() converts to underscore 2021-09-24 17:56:13 +02:00
Christoph M. Becker
22fa19e253
Clarify parse_url() behavior for invalid URLs
For invalid URLs, parse_url() may return nonsense – all bets are off.
2021-06-16 18:08:30 +02:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
2e22e4d5b4 Fix contradiction
The function description says that partial URLs may work, but a note
says otherwise. We fix this contradiction, thereby integrating user 
note 116150.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343077 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-12 11:09:52 +00:00
Christoph Michael Becker
3dee3a504f Fixed bug #73975 (parse_url does not decode % escaping of username)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343075 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-12 10:58:12 +00:00
Philip Olson
c63e914a43 Removed dead function from SeeAlso, patch by leigh via the Online Editor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339174 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-16 19:45:28 +00:00
Peter Cowburn
1b7d2330d7 add specifying a url constant to example (patch by Pasindu)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336512 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-13 14:21:16 +00:00
Pieter Hordijk
432ee8de49 Reverted non supported relative URLs screwup
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331015 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-24 19:30:05 +00:00
Pieter Hordijk
a4fc5b9e3c As of 5.3.6 relative URLs are correctly parsed: updated changelog and removed note
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331013 c90b9560-bf6c-de11-be94-00142212c4b1
2013-07-24 10:29:02 +00:00
Philip Olson
ca6d8a6f45 Typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329875 c90b9560-bf6c-de11-be94-00142212c4b1
2013-03-22 17:54:38 +00:00
Sherif Ramadan
7e6843088b Fixed minor typo.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327647 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-14 02:06:36 +00:00
Sherif Ramadan
c616bd78da Updated change log and added a new example to reflect behavior for host/scheme recognition fix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327646 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-14 01:39:08 +00:00
Justin Martin
7885b223b0 Added RFC 3986 link to See Also.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322704 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-24 23:32:23 +00:00
Adam Harvey
1477d14987 Fix doc bug #53901 (parse_url() discards invalid port number).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308017 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-04 11:11:05 +00:00
Adam Harvey
b4fd230b17 Fixed doc bug #53371 (parse_url docs say it returns FALSE on malformed URLs. It
may return NULL.) by reworking the return values section of the parse_url()
manual page.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305689 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-23 11:07:51 +00:00
Adam Harvey
1cfd7eabe8 Fix doc bug #52644 (parse_url doesn't emit an E_WARNING). Also added a full
stop to the other parse_url() change log entry, since I'm pedantic that way.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302525 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 05:34:58 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Jakub Vrana
9fbf14c5f5 See also http_build_url (bug #49929)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290689 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 19:55:01 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
51bdd398d7 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283841 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:15:58 +00:00
Jakub Vrana
5730e7a2fa Initializers - part 5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273648 c90b9560-bf6c-de11-be94-00142212c4b1
2009-01-16 16:14:26 +00:00
Philip Olson
1f6db5345c Fixed simple spelling errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271314 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-16 05:56:46 +00:00
Jakub Vrana
7a7f9756c9 Invalid characters (bug #44045)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@268498 c90b9560-bf6c-de11-be94-00142212c4b1
2008-11-07 12:31:32 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Mehdi Achour
aba6b01a39 ref.url: switch to new style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228800 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-03 01:10:52 +00:00
Mehdi Achour
24dcb2a1ba WS, prepare for new doc style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228799 c90b9560-bf6c-de11-be94-00142212c4b1
2007-02-03 01:10:26 +00:00
Nuno Lopes
50b2dea45f document the 2nd parameter of parse_url() and add its constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@218045 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-12 18:00:17 +00:00
Arne Blankerts
c37665ab77 yet another typo :-/ sorry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199452 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-28 18:12:19 +00:00
Arne Blankerts
4e5c3bbc40 typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199382 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-27 22:31:30 +00:00
Arne Blankerts
b9c759964a added note for tripple slashes on file:// only
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@199381 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-27 21:20:26 +00:00
Nuno Lopes
a1eef7274d convert to new style
fix examples
fix bug #34774: may return false


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198215 c90b9560-bf6c-de11-be94-00142212c4b1
2005-10-11 21:39:43 +00:00
Mehdi Achour
27960e632c Merry XHTML and CS compliant christmas all \!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Dave Barr
f4948e3e72 - Acronym case consistency, and iF=If
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142314 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-13 08:48:19 +00:00
Mehdi Achour
c5297bcdcd fixing #25791
integrating some notes


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@142124 c90b9560-bf6c-de11-be94-00142212c4b1
2003-10-09 13:35:12 +00:00
Derick Rethans
9e03316449 - Layout
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132065 c90b9560-bf6c-de11-be94-00142212c4b1
2003-06-16 20:11:10 +00:00
Philip Olson
face8953cc See also basename(), dirname(), and parse_str().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@100084 c90b9560-bf6c-de11-be94-00142212c4b1
2002-10-18 00:25:49 +00:00
Markus Fischer
e91f0dc882 - Document that parse_url does NOT validate the url in anyway, e.g. invalid
hostnames containg _ are still parsed (closes #12706, #17533).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@85221 c90b9560-bf6c-de11-be94-00142212c4b1
2002-06-09 23:37:41 +00:00
Sander Roobol
1c5b3f4b2d #16910
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@80904 c90b9560-bf6c-de11-be94-00142212c4b1
2002-05-02 11:00:39 +00:00
Hartmut Holzgraefe
5b9fc29465 revision tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3 banana-split
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00