]> sjero.net Git - wget/blobdiff - tests/HTTPServer.pm
IDN test.
[wget] / tests / HTTPServer.pm
index b76f0985742af738c1ddb2ed3514aa1a9afd7a3e..01c36957535268e6bc3e693786350f6fc518dd2b 100644 (file)
@@ -27,7 +27,8 @@ sub run {
         my $con = $self->accept();
         print STDERR "Accepted a new connection\n" if $log;
         while (my $req = $con->get_request) {
-            my $url_path = $req->url->path;
+            #my $url_path = $req->url->path;
+            my $url_path = $req->url->as_string;
             if ($url_path =~ m{/$}) { # append 'index.html'
                 $url_path .= 'index.html';
             }