Trying the following requiest through IE works fine:
http://165.114.214.221/getParam.cgi?AIValue_00=?
reply: AIValue_00=28192
Doing the same through TCL:
% package require http
2.7
% set url http://165.114.214.221
http://165.114.214.221
% set reply [::http::geturl ${url}/getParam.cgi?AIValue=?]
Unsupported URL: http://165.114.214.221/getParam.cgi?AIValue=?
%
Analisis: The following line in the URLmatcher variable:
( / [^\#?]* (?: \? [^\#?]* )?)? # <path> (including query)
Checks if the <path> part of the URL contains exactly
one question mark. According through RFC 3986 this
is how an URL should look like, but apparently there
are URL's that violate this. There is no reason to
restruct URL's this way, so I think the regular
expression should be relaxed.
Suggestion: replace the mentioned line with:
( / [^\#]*)? # <path> (including query)
should do the trick.
If no-one objects, I will check this change in, in
a few days.
Jan Nijtmans
29. http Package
development: 8.6b1.1
Public
|
Date: 2009-11-11 16:15
|
|
Date: 2009-11-11 16:00
|
|
Date: 2009-11-11 12:55 Yes, I am planning to backport this, but I cannot do it until tonight. Don, |
|
Date: 2009-11-11 12:47 I see that you committed a fix for this. Are you going to backport? |
|
Date: 2009-11-10 20:53 I hereby withdraw my objection :-) ... I read through the RFCs and it seems |
|
Date: 2009-11-10 16:03 When the strict uri checking code went in (during 8.5 development iirc) it |
|
Date: 2009-11-10 15:58
|
|
Date: 2009-11-03 12:14 So, I am glad I brought this up. So many reactions. Thanks all! |
|
Date: 2009-11-03 12:01 I am also against such a move. If this is really needed and going to be |
|
Date: 2009-11-03 11:58 Can't you get the server fixed? |
|
Date: 2009-11-03 11:47 Does it work in any browser other than IE? If not, it's just a broken site |
|
Date: 2009-11-03 11:02 >A '?' in the request parameter should be encoded as '%3f'. |
|
Date: 2009-11-03 10:47 A '?' in the request parameter should be encoded as '%3f'. |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-11-11 16:15 | dgp |
| allow_comments | 1 | 2009-11-11 16:15 | dgp |
| close_date | - | 2009-11-11 16:15 | dgp |
| resolution_id | None | 2009-11-11 12:47 | dkf |
| priority | 9 | 2009-11-10 16:03 | patthoyts |
| priority | 5 | 2009-11-10 15:58 | dgp |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use