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 | |
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')
-rw-r--r-- | library/http/http.tcl | 6 | ||||
-rw-r--r-- | library/http/pkgIndex.tcl | 2 |
2 files changed, 4 insertions, 4 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> $ } diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl index 27eb168..1eec2b6 100644 --- a/library/http/pkgIndex.tcl +++ b/library/http/pkgIndex.tcl @@ -1,4 +1,4 @@ # Tcl package index file, version 1.1 if {![package vsatisfies [package provide Tcl] 8.4]} {return} -package ifneeded http 2.7.4 [list tclPkgSetup $dir http 2.7.4 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}] +package ifneeded http 2.7.5 [list tclPkgSetup $dir http 2.7.5 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister ::http::mapReply}}}] |