Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3f02f3bf301771e2a8d41c77601eeb4ee678403dbc7ef4e6e5be3e90e0ec976a
Ticket: 4e5007ea1b2855277b349964ef1512ad884edace
Document use case: http::formatQuery key
User & Date: oehhar on 2022-05-12 12:37:15
Changes

  1. icomment:
    Thank you, Nash, for the message,
    first, I am amazed about all the patches this week, great.
    
    To answer the discrete question:
    I look to the msgcat code in [dcc2f0bb90d2ced6].
    
    http::quoteString is aliased on http::mapReply.
    
    The function is great and what is IMHO helpful.
    
    But mapReply starts with:
    
    <verbatim>
        if {$http(-urlencoding) ne ""} {
    </verbatim>
    
    so, the http array must exist to use it.
    So, IMHO, it can not be used as an utility function disconnected from a http request (what was my intention).
    
    As a side note, I am not sure what the "encoding convertto" following it does.
    If there is encoding envolved, I would do that after the percent encoding, not before, as an encoding applies to the percent encoded characters to.
    
    Just my two pence,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"