Bug 36878 - REGRESSION: Trailing colon on hostnames (with no port specified) causes "Not allowed to use restricted network port"
Summary: REGRESSION: Trailing colon on hostnames (with no port specified) causes "Not ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P1 Normal
Assignee: Mark Rowe (bdash)
URL: http://webkit.org:
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2010-03-31 03:12 PDT by Rowan Beentje
Modified: 2010-03-31 17:13 PDT (History)
2 users (show)

See Also:


Attachments
Patch (8.90 KB, patch)
2010-03-31 16:53 PDT, Mark Rowe (bdash)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.