[Webkit-unassigned] [Bug 21979] KURL doesn't canonicalize redundant port numbers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 18 02:43:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=21979





--- Comment #2 from Thiago Marcos P. Santos <tmpsantos at gmail.com>  2012-05-18 02:42:29 PST ---
(In reply to comment #1)
> I have a similar problem here that might be related to this.
> 
> I get 0 as port number when calling SecurityOrigin::port() if the port is the default port number for the protocol (i.e http://foobar/ or http://foobar:80/). IMO it should return 80.
> 
> If I have, let's say, http://foobar:123/, it returns 123 as expected.

Looks like that both KURL and SecurityOrigin clears the port when it is the default port. Does anyone knows why?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list