Open Bug 692414 Opened 13 years ago Updated 2 years ago

Refactor decoding of RFC 2231/5987 encoded parameter values

Categories

(Firefox :: File Handling, defect)

defect

Tracking

()

People

(Reporter: julian.reschke, Unassigned)

References

(Blocks 1 open bug)

Details

...with the goal of exposing that functionality as a separate API so that it can be used for other header fields as well, such as "Link".

(see proposed API and implementation in 663057)
Note that this will involve stricter parsing, which might affect a few broken senders:

(1) Insist on all components to be present (encoding, lang (potentially empty), value)

(2) Insist on complete percent escapes and all-ASCII before decoding

(3) Insist on valid encoding name

(4) Insist on octet sequence after percent-decoding being valid with respect to the encoding
Product: Core → Firefox
Version: Trunk → unspecified
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.