Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 3d2513e12eb075bc8607ea187a14c821226f5ece3fc2123900959772b51a12ab
Ticket: 1f900bdf6bb6369987598e8c5f36a1e0f62b9798
improve ncgi's decode procedure
User & Date: anonymous 2017-09-01 23:43:46
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. 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!
    
  5. foundin changed to: "1.18"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "anonymous"
  13. subsystem changed to: "(unused)"
  14. title changed to: "improve ncgi's decode procedure"
  15. type changed to: "Patch"