Menu

#3111 Too eager percent-encoding

obsolete: 8.5a3
closed-fixed
5
2005-10-05
2005-04-13
Kaitzschu
No

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.

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-10-05
    • status: open --> closed-fixed
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2005-10-05

    Logged In: YES
    user_id=72656

    Fixed in 8.4.12 and 8.5a4.

     
MongoDB Logo MongoDB