Re: Infinite loop found in translate_entities

Tilmann Singer <[email protected]> Sun, 13 Mar 2005 22:05:18 +0100
Newsgroups gmane.comp.web.tclwebtest
Message-ID <[email protected]>
* Grzegorz Adam Hankiewicz <[email protected]> [20050228 00:30]:
> I've commited a test to selftest/entity.test which enters an infinite
> loop.  This situation is found with the following real world test:
> 
> tclwebtest::do_request "http://validator.w3.org/check?uri=http://alleg.sourceforge.net/logos_03.es.html"
> 
> This prints an HTTP status of 200, but locks up in line 2405 of
> tclwebtest.tcl, about 17 lines after the puts that prints the
> HTTP status.

Fixed in CVS. tcl regsub applies a special meaning to the text to use
to replace - '&' must be escaped.


til





-- 
http://tsinger.com                            +49-176 20 19 51 69


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click