Changeset 29061 in webkit
- Timestamp:
- Jan 1, 2008 2:40:57 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r29058 r29061 1 2008-01-01 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Alexey. 4 5 Don't replace \ with / in data: urls 6 http://bugs.webkit.org/show_bug.cgi?id=16692 7 8 * fast/loader/url-data-replace-backslash-expected.txt: Added. 9 * fast/loader/url-data-replace-backslash.html: Added. 10 1 11 2007-12-31 Sam Weinig <sam@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r29060 r29061 1 2008-01-01 Eric Seidel <eric@webkit.org> 2 3 Reviewed by Alexey. 4 5 Don't replace \ with / in data: urls 6 http://bugs.webkit.org/show_bug.cgi?id=16692 7 8 Test: fast/loader/url-data-replace-backslash.html 9 10 * platform/KURL.cpp: 11 (WebCore::KURL::init): 12 1 13 2008-01-01 Alp Toker <alp@atoker.com> 2 14 -
trunk/WebCore/platform/KURL.cpp
r26676 r29061 286 286 // for compatibility with Win IE, we must treat backslashes as if they were slashes, as long as we're not dealing with the javascript: schema 287 287 DeprecatedString substitutedRelative; 288 bool shouldSubstituteBackslashes = relative.contains('\\') && ! relative.startsWith("javascript:", false);289 if (shouldSubstituteBackslashes) {288 bool shouldSubstituteBackslashes = relative.contains('\\') && !(relative.startsWith("javascript:", false) || relative.startsWith("data:", false)); 289 if (shouldSubstituteBackslashes) 290 290 substitutedRelative = substituteBackslashes(relative); 291 }292 291 293 292 const DeprecatedString &rel = shouldSubstituteBackslashes ? substitutedRelative : relative;
Note: See TracChangeset
for help on using the changeset viewer.