Changeset 147671 in webkit
- Timestamp:
- Apr 4, 2013, 2:57:58 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r147667 r147671 1 2013-04-04 Alexey Proskuryakov <ap@apple.com> 2 3 REGRESSION (r146580): Assertion using SecurityOrigin::create, URL string is not valid 4 https://bugs.webkit.org/show_bug.cgi?id=113961 5 6 Reviewed by Geoff Garen. 7 8 * page/SecurityOrigin.cpp: 9 (WebCore::SecurityOrigin::createFromDatabaseIdentifier): 10 (WebCore::SecurityOrigin::create): 11 Don't use ParsedURLString, because http://host:80/ is normalized to http://host/, 12 so it's not a parsed URL string. 13 1 14 2013-04-04 Sheriff Bot <webkit.review.bot@gmail.com> 2 15 -
trunk/Source/WebCore/page/SecurityOrigin.cpp
r147526 r147671 530 530 531 531 host = decodeURLEscapeSequences(host); 532 return create(KURL( ParsedURLString, protocol + "://" + host + ":" + String::number(port) + "/"));532 return create(KURL(KURL(), protocol + "://" + host + ":" + String::number(port) + "/")); 533 533 } 534 534 … … 538 538 createUnique(); 539 539 String decodedHost = decodeURLEscapeSequences(host); 540 return create(KURL( ParsedURLString, protocol + "://" + host + ":" + String::number(port) + "/"));540 return create(KURL(KURL(), protocol + "://" + host + ":" + String::number(port) + "/")); 541 541 } 542 542
Note:
See TracChangeset
for help on using the changeset viewer.