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

Unified Diff: third_party/WebKit/Source/platform/blob/BlobURL.cpp

Issue 1878273002: Remove URLencode/URLdecode for the inner origin of blob: URLs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Unescape constants in tests & code Created 4 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/platform/blob/BlobURL.cpp
diff --git a/third_party/WebKit/Source/platform/blob/BlobURL.cpp b/third_party/WebKit/Source/platform/blob/BlobURL.cpp
index 21456d7f2e721fe7ac8b75dc2dd08e62fea0b4fa..ebc99a6f1de1292f6c4feb0636821ae713d4d230 100644
--- a/third_party/WebKit/Source/platform/blob/BlobURL.cpp
+++ b/third_party/WebKit/Source/platform/blob/BlobURL.cpp
@@ -62,7 +62,8 @@ KURL BlobURL::createInternalStreamURL()
KURL BlobURL::createBlobURL(const String& originString)
{
ASSERT(!originString.isEmpty());
- String urlString = "blob:" + encodeWithURLEscapeSequences(originString) + '/' + createCanonicalUUIDString();
+ String urlString =
+ "blob:" + originString + '/' + createCanonicalUUIDString();
return KURL::createIsolated(ParsedURLString, urlString);
}

Powered by Google App Engine
This is Rietveld 408576698