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 28534 - 'extra' must be reset to empty string after being appended to 'name' in MIME type parsing algorithm
Summary: 'extra' must be reset to empty string after being appended to 'name' in MIME ...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: MIME (show other bugs)
Version: unspecified
Hardware: All All
: P2 major
Target Milestone: Unsorted
Assignee: Gordon P. Hemsley
QA Contact: sideshowbarker+mimespec
URL: https://mimesniff.spec.whatwg.org/#pa...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-22 13:08 UTC by Gordon P. Hemsley
Modified: 2019-03-29 23:16 UTC (History)
1 user (show)

See Also:


Attachments

Description Gordon P. Hemsley 2015-04-22 13:08:35 UTC
After (what is currently) step 12.7.1 in the MIME type parsing algorithm, the 'extra' variable must be reset to the empty string ("") or else the name of the parameter will grow exponentially with any subsequent extra portion.
Comment 1 Gordon P. Hemsley 2019-03-29 23:16:25 UTC
This algorithm has since been rewritten, so I don't think this is a problem anymore.