gecko-dev/dom/url
Valentin Gosu 6444ab9d1e Bug 1389251 - Do not escape spaces in nsSimpleURI r=bz
This change makes nsEscape::T_EscapeURL not escape spaces when passed esc_OnlyNonASCII.
This fixes a web-compat issue for URLs such as "javascript: alert('hello');" and the fact that data: URIs with spaces around MIME type are rejected.

MozReview-Commit-ID: 91Qw9foW6Y3

--HG--
extra : rebase_source : 2da1b5f305ca2abcce2f9988cd6a5cbc12635c61
2018-06-18 15:06:24 +02:00
..
tests Bug 1389251 - Do not escape spaces in nsSimpleURI r=bz 2018-06-18 15:06:24 +02:00
moz.build Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
URL.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
URL.h Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
URLMainThread.cpp Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot 2018-06-02 15:51:42 +02:00
URLMainThread.h Bug 1454889 - Remove createObjectURL()'s MediaStream overload, r=valentin 2018-04-24 16:19:51 +02:00
URLSearchParams.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
URLSearchParams.h Bug 792808 - Migrate BodyExtractor away from using nsIXHRSendable; r=baku 2017-09-19 21:32:12 -04:00
URLWorker.cpp Bug 1466023 - Separate FontTableURI and BlobURL, r=qdot 2018-06-02 15:51:42 +02:00
URLWorker.h Bug 1454656 - Unify URLWorker and URLMainThread, r=smaug 2018-04-24 12:01:46 +02:00