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 25211 - "Let bytePoint be the two bytes after byte in in..."
Summary: "Let bytePoint be the two bytes after byte in in..."
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 05:32 UTC by Vyacheslav Matva
Modified: 2014-04-11 14:10 UTC (History)
1 user (show)

See Also:


Attachments

Description Vyacheslav Matva 2014-03-31 05:32:48 UTC
http://url.spec.whatwg.org/#percent-decode

Algo "percent decode" item 2.3.1 says:
"Let bytePoint be the two bytes after byte in input, encoded, and then interpreted as hexadecimal number."

It must be:
"Let bytePoint be the two bytes after byte in input, DECODED, and then interpreted as hexadecimal number."

We take two bytes after "%" sign, then convert these bytes to code points (i.e. we DECODE these bytes), then interprete these letters as byte value written in hex format.