Subject: | Mechanize doesn't strip quotes from url in meta refresh |
Date: | Tue, 26 Jun 2007 18:53:38 +0930 |
To: | bug-WWW-Mechanize [...] rt.cpan.org |
From: | "Krieg, Jeremy" <Jeremy.Krieg [...] youramigo.com> |
I ran into a page which had a meta refresh tag looking something like as
follows:
<meta content="0; url='http://www.mysite.com/'" http-equiv="refresh">
Mechanize successfully parsed out the URL, however it did not strip the
single quotes from it. So when I went to follow the link, I ended up at:
http://www.origsite.com/'http://www.mysite.com'
Firefox handles this correctly.
It would be nice if Mechanize stripped the quotes out too.
The version of Mechanize that I am reporting against is 1.18.