Overview
Artifact ID: | 3d2513e12eb075bc8607ea187a14c821226f5ece3fc2123900959772b51a12ab |
---|---|
Ticket: | 1f900bdf6bb6369987598e8c5f36a1e0f62b9798
improve ncgi's decode procedure |
User & Date: | anonymous 2017-09-01 23:43:46 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
In practice www-url-encoded POST params can use encodings other than UTF-8 (think of legacy Tcl applications that use one of the ISO-8859-x charsets). In this case URL parameters can contain references to 8-bit code points (in the form of %[A-F8-9][A-F0-9]) that are not valid UTF-8 code points. For example, %DC can be used as a percent encoding for the german umlaut Ü (if a Tcl application is based on ISO-8859-1). Currently, the decode procedure does not decode %DC as all one byte UTF-8 code points must start with [0-7]. This commit improves the handling of one byte percent encoded non-ASCII characters in the form of %[A-F8-9][A-F0-9]. It allows to use ncgi in application contexts that do not use UTF-8 as the base encoding. A pull request was created on Github. See https://github.com/tcltk/tcllib/pull/13 for more details. Thanks!
- foundin changed to: "1.18"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "(unused)"
- title changed to: "improve ncgi's decode procedure"
- type changed to: "Patch"