Bug 36878

Summary: REGRESSION: Trailing colon on hostnames (with no port specified) causes "Not allowed to use restricted network port"
Product: WebKit Reporter: Rowan Beentje <rowan>
Component: Page LoadingAssignee: Mark Rowe (bdash) <mrowe>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, mrowe
Priority: P1 Keywords: Regression
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://webkit.org:
Attachments:
Description Flags
Patch darin: review+

Description Rowan Beentje 2010-03-31 03:12:27 PDT
Hostnames with colons appended, with no ports specified, have started to cause a "Not allowed to use restricted network port" error.  Compare:

http://webkit.org
and
http://webkit.org:

This is a regression in the nightlies - works in Safari 4.0.5, doesn't work in r56669.

I'd expect the URL port syntax without a specified port to use the default port.
Comment 1 Rowan Beentje 2010-03-31 03:35:07 PDT
I would suspect http://trac.webkit.org/changeset/56489 :)
Comment 2 Mark Rowe (bdash) 2010-03-31 16:53:38 PDT
Created attachment 52225 [details]
Patch
Comment 3 Mark Rowe (bdash) 2010-03-31 17:13:44 PDT
Landed in r56879.