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 23410 - Encoding override in application/x-www-form-urlencoded byte serializer
Summary: Encoding override in application/x-www-form-urlencoded byte serializer
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: 2013-10-01 13:18 UTC by Simon Sapin
Modified: 2013-10-02 12:52 UTC (History)
1 user (show)

See Also:


Attachments

Description Simon Sapin 2013-10-01 13:18:16 UTC
http://url.spec.whatwg.org/#application/x-www-form-urlencoded

[[
The application/x-www-form-urlencoded byte serializer takes a byte sequence input, an encoding override, and then runs these steps: 
]]

The encoding override is unused in the following step. It seems like it could just be removed.
Comment 1 Anne 2013-10-02 01:18:01 UTC
It is used in step 6.
Comment 2 Simon Sapin 2013-10-02 07:44:55 UTC
The *byte serializer* (not the serializer) only has three steps.

BTW, is the byte serializer used anywhere else? If not, maybe it should be inlined in the serializer.
Comment 3 Anne 2013-10-02 12:52:23 UTC
Ah, the link in comment 0 threw me off. Thanks!

https://github.com/whatwg/url/commit/bcbec2c5c952fe38c1f33611be62d0fb1b926acd