Commit Graph

115 Commits

Author SHA1 Message Date
Andrei Zmievski
d69178b56b Adjust base64_encode() according to PDM notes. 2009-07-16 22:19:09 +00:00
Andrei Zmievski
3db16aae10 Adjust rawurlencode() according to PDM notes. 2009-07-16 22:08:02 +00:00
Andrei Zmievski
28889769af Adjust urlencode() according to PDM notes. 2009-07-16 21:48:10 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
886087b701 - Fix the fix 2008-07-29 12:41:58 +00:00
Felipe Pena
b201b13939 - Fix mem. leak 2008-07-29 12:36:36 +00:00
Rob Richards
cb972c1da6 rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC] 2008-06-04 19:34:45 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Antony Dovgal
b608bd654d fix ws, cs & folding 2007-07-14 08:38:20 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Andrei Zmievski
162dc4c774 Unicode support in parse_url(). 2006-12-07 18:18:49 +00:00
Andrei Zmievski
45e2197619 get_headers() will keep headers as binary strings. 2006-11-30 22:26:27 +00:00
Andrei Zmievski
8f54e61aa5 Oops. 2006-10-26 17:59:53 +00:00
Andrei Zmievski
7b553531af Make url encoding/decoding functions use binary strings only. 2006-10-26 17:33:33 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Ilia Alshanetsky
7d3e03b2a7 MFB: Fixed bug #38859 (parse_url() fails if passing '@' in passwd). 2006-09-28 14:52:55 +00:00
Antony Dovgal
a005d97eeb fix #38981 (using FTP URLs in get_headers() causes crash) 2006-09-28 12:55:02 +00:00
Ilia Alshanetsky
0f9b85cc82 MFB: Fixed bug #38891 (get_headers() do not work with curl-wrappers). 2006-09-25 16:02:19 +00:00
Antony Dovgal
b202bcda65 fix possible segfault in #38891 2006-09-23 11:58:49 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Hannes Magnusson
0a2cfcce41 MFB: url -> URL 2006-06-29 14:32:24 +00:00
Hannes Magnusson
bf0a79d381 Updated protos
Fixed vim folding
2006-06-25 19:19:31 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +00:00
Ilia Alshanetsky
2fb6ce838b MFB51: Fixed bug #36351 (parse_url() does not parse numeric paths properly). 2006-02-12 16:40:34 +00:00
Ilia Alshanetsky
f0b0e2cd19 MFB51: Make get_headers() use the default context. 2006-01-18 14:05:28 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
b3d7ae9399 Fixed bug #34148 (+,- and . not supported as parts of scheme). 2005-08-16 14:10:13 +00:00
Ilia Alshanetsky
ebc108124b Added option to parse_url() to retrieve a particular URL component. 2005-08-09 14:17:28 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
fddaa54410 Added scheme validation for parse_url(). 2005-05-26 03:56:21 +00:00
Ilia Alshanetsky
8281f41f3e Fixed bug #32813 (parse_url() does not handle scheme-only urls properly). 2005-04-25 23:47:37 +00:00
Ilia Alshanetsky
42155f6028 Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar) 2005-01-27 16:37:34 +00:00
Ilia Alshanetsky
4af4cf0914 Fixed bug #29913 (parse_url() is now binary safe). 2004-09-20 05:13:35 +00:00
Sara Golemon
851b6d4475 String lengths should never be char pointers. 2004-06-18 00:44:37 +00:00
Stefan Esser
2e3b9ec278 Fixed off-by-one in php_parse_url. 2004-05-28 11:33:23 +00:00
Sara Golemon
1335bc8fb8 Don't strip off those []s, it'll only create problems in wrappers and elsewhere. 2004-04-27 19:28:11 +00:00
Sara Golemon
99b6724a4c BugFix 28187 parse_url does not handle scheme://[0123:4567::89]:12345/etc style IPv6 embedded address URLs 2004-04-27 19:13:13 +00:00
Ard Biesheuvel
86fe4ab6a1 CS 2004-01-25 15:08:31 +00:00
Ard Biesheuvel
6b8c406481 Changed prototypes to allow parsing of string literals and constant strings
Minor CS/WS
2004-01-25 00:30:50 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
Sara Golemon
e90f85e45d Scan for : in host:port pair from right instead of left.
This will allow handling of http://[fe80::1]:443/foo.html
IPv6 Numeric addressing with port number to parse correctly.
2003-12-15 06:54:31 +00:00
Ilia Alshanetsky
9947a3e7ce Fixed typo (thanks Frank) 2003-12-04 00:14:39 +00:00
Ilia Alshanetsky
81e41e3cb9 Remove unnecessary casts. 2003-12-03 22:51:51 +00:00
Moriyoshi Koizumi
247f991443 Possible fix for bug #26391 (parse_url() destroys strings that contain
a character in range of \x80-\xff))
2003-12-03 20:58:12 +00:00
Shane Caraveo
4505a611ba make parse_url work correctly for file uri's on windows, such as
file:///c:/somepath/somefile.txt
2003-10-19 20:00:51 +00:00
Ilia Alshanetsky
a9b20a6abf Fixed bug #25800 (parse_url() could not parse urls with empty port). 2003-10-13 04:27:23 +00:00
Ilia Alshanetsky
ed40ae2650 emalloc -> safe_emalloc 2003-08-11 23:16:54 +00:00
Ilia Alshanetsky
7825a1864c Fixed bug #24560 (parse_url() incorrectly handling certain file:// based
schemas).
2003-07-21 13:36:23 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00