Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2794303002: Deprecate resource requests whose URLs contain raw newlines. (Closed)
Patch Set: Rebase. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 2d23e78f3f32b18da087b4673118fa5b1b7dbdba..e98e4b9b8d45b3c942d088fa676f03badbea7ef4 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -5047,9 +5047,6 @@ KURL Document::completeURL(const String& url) const {
UseCounter::count(
*this,
UseCounter::DocumentCompleteURLHTTPContainingNewlineAndLessThan);
-
- if (RuntimeEnabledFeatures::restrictCompleteURLCharacterSetEnabled())
- return KURL();
}
} else {
UseCounter::count(

Powered by Google App Engine
This is Rietveld 408576698