diff options
author | dgp <dgp@users.sourceforge.net> | 2009-11-11 16:14:42 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-11-11 16:14:42 (GMT) |
commit | 947926bbfb3e90bc9a7fe4fc72f72f97abd12438 (patch) | |
tree | 9a1b4d404fe158115b57260f0dc104f5587826d7 /library/http/http.tcl | |
parent | 1f774fe0d6f91f4c57f9f9d409c5f3058e04dc9f (diff) | |
download | tcl-947926bbfb3e90bc9a7fe4fc72f72f97abd12438.zip tcl-947926bbfb3e90bc9a7fe4fc72f72f97abd12438.tar.gz tcl-947926bbfb3e90bc9a7fe4fc72f72f97abd12438.tar.bz2 |
* library/http/http.tcl: Update the URL syntax check to
RFC 3986 compliance on the subject of non-encoded question mark
characters. [Bug 2891171].
* library/http/pkgIndex.tcl: Bump to http 2.7.5 to avoid any
* unix/Makefile.in: confusion with snapshot "releases"
* win/Makefile.in: that might be in ActiveTcl, etc.
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r-- | library/http/http.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index e615f58..b2346fa 100644 --- a/library/http/http.tcl +++ b/library/http/http.tcl @@ -8,12 +8,12 @@ # See the file "license.terms" for information on usage and redistribution of # this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: http.tcl,v 1.67.2.8 2009/09/11 15:08:20 dgp Exp $ +# RCS: @(#) $Id: http.tcl,v 1.67.2.9 2009/11/11 16:14:43 dgp Exp $ package require Tcl 8.4 # Keep this in sync with pkgIndex.tcl and with the install directories in # Makefiles -package provide http 2.7.4 +package provide http 2.7.5 namespace eval http { # Allow resourcing to not clobber existing data @@ -433,7 +433,7 @@ proc http::geturl {url args} { ( [^/:\#?]+ ) # <host part of authority> (?: : (\d+) )? # <port part of authority> )? - ( / [^\#?]* (?: \? [^\#?]* )?)? # <path> (including query) + ( / [^\#]*)? # <path> (including query) (?: \# (.*) )? # <fragment> $ } |