mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 22:28:59 +02:00
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
|
||
|---|---|---|
| .. | ||
| tests | ||
| moz.build | ||
| URL.cpp | ||
| URL.h | ||
| URLMainThread.cpp | ||
| URLMainThread.h | ||
| URLSearchParams.cpp | ||
| URLSearchParams.h | ||
| URLWorker.cpp | ||
| URLWorker.h | ||