Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ac98c787d8f3cc5edce98602303478662f29ed95
Ticket: 1182373fffffffffffffffffffffffffffffffff
Too eager percent-encoding
User & Date: kaitzschu on 2005-04-13 16:51:22
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Current behaviour:
    
    % http::mapReply "._~-"
    %2e%5f%7e%2d
    
    
    Background:
    
    RFC3986 Section 2.3:
    "-- percent-encoded octets in the ranges of ALPHA
    (%41-%5A and %61-%7A), DIGIT (%30-%39), hyphen (%2D),
    period (%2E), underscore (%5F), or tilde (%7E) should
    not be created by URI producers --"
    
    
    Desired behaviour:
    
    % http::mapReply "._~-"
    ._~-
    
    
    Possible fix:
    
    From http.tcl in procedure http::init line
    if {![string match {[a-zA-Z0-9]} $c]} {
    should be changed to
    if {![string match {[-a-zA-Z0-9~._]} $c]} {
    unless there is some character set difficulty unknown
    to me.
    
  4. foundin changed to: "obsolete: 8.5a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kaitzschu"
  9. subsystem changed to: "29. http Package"
  10. title changed to: "Too eager percent-encoding"
  11. type changed to: "Bug"