Changes between Version 33 and Version 34 of ContentDispositionErrorHandling


Ignore:
Timestamp:
13/12/10 10:57:08 (10 years ago)
Author:
ietf@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ContentDispositionErrorHandling

    v33 v34  
    5555To filename-decode an encoded-string, use the following algorithm:
    5656
    57  1. If the encoded-string contains non-ASCII characters, emit the encoded-string (decoded as ISO-8859-1) and abort these steps.
     57 1. If the encoded-string contains non-ASCII characters, process the encoded-string as follows:
     58  i. If the encoded-string decodes as UTF-8, emit the encoded-string (decoded as UTF-8) and abort these steps.
     59  ii. Emit the encoded-string (decoded as ISO-8859-1) and abort these steps.
    5860 2. Let the url-unescaped-string be the encoded-string %-unescaped.
    5961 3. If the url-unescaped-string decodes as UTF-8, emit the url-unescaped-string (decoded as UTF-8) and abort these steps.