This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26363 - "If value is 0 or greater than 255, parse error,..."
Summary: "If value is 0 or greater than 255, parse error,..."
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 23:55 UTC by Albert Wiersch
Modified: 2014-07-28 16:27 UTC (History)
2 users (show)

See Also:


Attachments

Description Albert Wiersch 2014-07-16 23:55:10 UTC
http://url.spec.whatwg.org/#host-parsing

[[
If value is 0 or greater than 255, parse error, return failure. 
]]

Shouldn't this be

If (value is 0 and c is an ASCII digit) or value is greater than 255, then parse error, return failure. 

Otherwise this will fail at the zero: ::ffff:192.0.2.128