Bug 181308 - Forbid < and > in URL hosts
Summary: Forbid < and > in URL hosts
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-04 14:47 PST by Alex Christensen
Modified: 2018-01-05 17:50 PST (History)
3 users (show)

See Also:


Attachments
Patch (9.44 KB, patch)
2018-01-04 14:51 PST, Alex Christensen
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2018-01-04 14:47:37 PST
Forbid < and > in URL hosts
Comment 1 Alex Christensen 2018-01-04 14:51:40 PST
Created attachment 330488 [details]
Patch
Comment 2 Alex Christensen 2018-01-05 15:38:38 PST
http://trac.webkit.org/r226469
Comment 3 Radar WebKit Bug Importer 2018-01-05 15:40:26 PST
<rdar://problem/36329230>
Comment 4 Matt Lewis 2018-01-05 17:47:49 PST
This caused a consistent api test failure with WebKit.LoadInvalidURLRequest

FAIL WebKit.LoadInvalidURLRequest

/Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:57
Value of: @"NSURLErrorDomain"
  Actual: "NSURLErrorDomain"
Expected: error.domain
Which is: "WebKitErrorDomain"


/Volumes/Data/slave/elcapitan-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:58
Value of: -1003
Expected: error.code
Which is: 101

https://build.webkit.org/builders/Apple%20El%20Capitan%20Release%20WK2%20(Tests)/builds/6999
Comment 5 Alex Christensen 2018-01-05 17:50:43 PST
http://trac.webkit.org/r226479