bagder: curl-www/dl remcheck.pl,1.4,1.5

[email protected]
Newsgroups gmane.comp.web.curl.www.cvs
Message-ID <[email protected]>
Update of /cvsroot/curl/curl-www/dl
In directory labb:/tmp/cvs-serv22903

Modified Files:
	remcheck.pl 
Log Message:
fixed unescape


Index: remcheck.pl
===================================================================
RCS file: /cvsroot/curl/curl-www/dl/remcheck.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- remcheck.pl	10 May 2005 09:31:12 -0000	1.4
+++ remcheck.pl	10 May 2005 10:22:57 -0000	1.5
@@ -122,9 +122,13 @@
 
     if($churl) {
         # there's a URL to check
-        # expand $version!
+
+        # first unescape HTML encoding
+        $churl = CGI::unescapeHTML($churl);
+
         logmsg " Check URL: \"$churl\"\n";
 
+        # expand $version!
         if($churl =~ s/\$version/$version/g) {
             # 'fixedver' means that we have the version number in the URL
             # and thus success means this version exists

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-www-commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.