Revision: 4466 Author: edi URL: http://bknr.net/trac/changeset/4466
Don't add GET parameters to redirects
U trunk/thirdparty/drakma/CHANGELOG.txt U trunk/thirdparty/drakma/request.lisp
Modified: trunk/thirdparty/drakma/CHANGELOG.txt =================================================================== --- trunk/thirdparty/drakma/CHANGELOG.txt 2009-11-09 21:01:43 UTC (rev 4465) +++ trunk/thirdparty/drakma/CHANGELOG.txt 2009-11-10 09:08:55 UTC (rev 4466) @@ -1,3 +1,4 @@ +Don't send GET parameters again when redirecting (reported by Eugene Ossintsev) Solidify feature expressions (thanks to Joshua Taylor) Make SEND-COOKIE-P work for pathless URIs (thanks to Tomo Matsumoto)
Modified: trunk/thirdparty/drakma/request.lisp =================================================================== --- trunk/thirdparty/drakma/request.lisp 2009-11-09 21:01:43 UTC (rev 4465) +++ trunk/thirdparty/drakma/request.lisp 2009-11-10 09:08:55 UTC (rev 4466) @@ -654,6 +654,8 @@ (t redirect)) :stream (and re-use-stream http-stream) :additional-headers additional-headers + ;; don't send GET parameters again in redirect + :parameters (and (not (eq method :get)) parameters) args))))) (let ((transfer-encodings (header-value :transfer-encoding headers))) (when transfer-encodings