Valentin Gosu
ff510f7133
Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
...
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments
MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-07 15:06:08 +03:00
Valentin Gosu
627f600a3e
Bug 1314859 - SetHost should also call NormalizeIPv4 r=mcmanus
...
MozReview-Commit-ID: 79sQrld6TBG
2016-11-06 23:26:04 +01:00
Valentin Gosu
3a14f83970
Bug 1305204 - (Part 3) Backout bug 1275746 a=backout
...
MozReview-Commit-ID: B627xyv9BRm
2016-10-23 14:24:49 +02:00
Thomas Wisniewski
0748df2882
Bug 1302312 - Treat URLs with username or password but no host info as malformed. r=valentin
...
--HG--
extra : rebase_source : 24fdcd9682cbcc3bb6850bf7708ea859264f4661
2016-09-13 12:47:16 -04:00
Junior Hsu
df4fd78a0e
Bug 1190027 - Test setters for tab and newline. r=valentin
...
--HG--
extra : rebase_source : e76167e426468700c7cdda5d3abb64979ae8dd4b
2016-08-18 03:15:00 -04:00
Junior Hsu
5536544c0b
Bug 1288049 - Canonicalize IPv4 for nsStandardURL, r=valentin
2016-08-09 03:18:00 +02:00
Valentin Gosu
c6165ca8ee
Bug 1288482 - Backout bug 1042347. r=mcmanus
...
MozReview-Commit-ID: J3LmMfQ854V
2016-07-24 23:35:12 +02:00
Valentin Gosu
eaee61d467
Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
...
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments
MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-13 15:19:33 +03:00
Valentin Gosu
fa4080a0a7
Bug 1272284 - Encode C0 controls in path, query and hash r=mcmanus
...
MozReview-Commit-ID: 1zGRjVmAWts
2016-05-25 16:23:38 +02:00
Valentin Gosu
78d21aba95
Bug 1271955
- Strip leading and trailing C0 controls and space for urls passed to new URL() r=mcmanus
...
MozReview-Commit-ID: B7BiKE6P7GA
2016-05-25 16:23:37 +02:00
Valentin Gosu
1863d8b9cd
Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
...
* * *
[mq]: test
MozReview-Commit-ID: JAZ36DstjFs
--HG--
extra : rebase_source : ccce437c84a15319fa05db4c14c5d784b66f6638
2016-03-03 15:50:16 +01:00
Valentin Gosu
9980689593
Bug 1042347 - %2e entered in URL bar not normalized leading to denormalized request r=mcmanus
2016-02-10 13:13:23 +01:00
Valentin Gosu
947cd3dfe3
Bug 241788 - Add missing run_next_test() to xpcshell-test a=testonly
2016-02-05 16:49:49 +01:00
Valentin Gosu
82a16a09cb
Bug 241788 - net_FilterURIString should filter \r\n\t from the entire URL r=honzab
...
* net_ExtractURLScheme now uses mozilla::Tokenizer
* net_FilterURIString also filters characters in the scheme now
* removed startPos and endPos parameters for net_FilterURIString and introduced net_IsAbsoluteURL
2016-02-05 14:45:08 +01:00
Marco Bonardo
c6747b6e30
Bug 1242961 - nsStandardURL still allows to build valid nsIURIs longer than network.standard-url.max-length. r=valentin
...
--HG--
extra : commitid : LhDNkRzmNnu
extra : rebase_source : ccd91b21929bf9a8ccc945c3a524d47eef98294f
2016-01-26 17:23:22 +01:00
Valentin Gosu
67b179e6f9
Bug 412457 - should unescape hostname first, then perform IDNA r=mcmanus
2015-11-18 15:25:27 +01:00
Valentin Gosu
f4d3791247
Bug 1163030 - URL: stop escaping ` in query r=mcmanus
2015-11-02 13:55:24 +01:00
Valentin Gosu
e96a491a5d
Bug 1163028 - URL: stop escaping [ and ] in path r=mcmanus
2015-11-02 13:54:10 +01:00
Tooru Fujisawa
73cd2e9cab
Bug 1217316 - Remove for-each from netwerk/. r=jduell
...
--HG--
extra : commitid : EIpillrRBad
2015-10-19 02:19:02 +09:00
Valentin Gosu
b6ae7d5d90
Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk
2015-04-28 18:29:22 +03:00
Valentin Gosu
f561749154
Bug 1121826 - backout cc192030c28f - brackets shouldn't be automatically escaped in the Query r=mcmanus
2015-01-17 16:13:21 +02:00
Valentin Gosu
04a675301a
Bug 473822 - Square brackets not percent-encoded in URI's query-part. r=jduell
2014-09-06 01:32:04 +03:00
Valentin Gosu
e32bd146bf
Bug 1009648
: nsStandardURL crashes when calling SetHost after Clear() r=mcmanus
2014-08-11 12:14:03 +03:00
Valentin Gosu
bfa80ae2c2
Bug 960014 - Make nsStandardURL::SetHost less magical around IPv6 r=honzab
...
Enforces brackets for IPv6 URLs in SetHost
Removed unreachable _if (!*host)_ block in nsStandardURL::SetHost
SetHostPort fails for empty and non-int strings
2014-05-02 06:31:43 +03:00
Michal Novotny
c6c4687357
Bug 429347 - "URL parser gets confused by ref with no path" [r=bzbarsky sr=cbiesinger]
2008-10-01 00:34:29 -05:00
Mats Palmgren
22cad4220c
URI.path one character short after redirect involving fragment. b=438288 r+sr=cbiesinger
2008-06-19 23:39:46 +02:00
cbiesinger@gmail.com
6d17efda5c
Bug 429128 correctly adjust mRef when changing the query part of a URL r+sr=bz a=beltzner; unit test by bz r+sr=biesi
2008-04-17 01:27:44 -07:00
jwalden@mit.edu
1ae0e06fc9
Bug 417218 - nsStandardURL::SetPath does the wrong thing when the path is '/' and is being set to ''. r+sr=biesi, a=beltzner
2008-02-26 14:48:42 -08:00