Re: Problem following URLs with GET parameters

Grzegorz Adam Hankiewicz <[email protected]> Sun, 6 Feb 2005 22:43:22 +0000
Newsgroups gmane.comp.web.tclwebtest
Message-ID <[email protected]>
On 2005-02-06, Tilmann Singer <[email protected]> wrote:
> * Grzegorz Adam Hankiewicz <[email protected]> [20050206 19:53]:
> > The do_request command seems to modify the URL (one slash before
> > "alleg" removed), as the following output shows:
> 
> Someone ( ;-)) added a proc called post_process_url that is
> the culprit:

Yeah, I was afraid it was me.

> Maybe that someone could fix it so that it doesn't mangle query
> content?  Added selftest/post_process_url.test in CVS which tests
> a few calls of that proc and currently fails because of the query
> var modification.

Now the test is passed OK, I separate GET parameters from the url
before doing any substitution. Hopefully there's not another way
of putting a `?' character in a URL that breaks this too.


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl