]> sjero.net Git - wget/blobdiff - tests/HTTPServer.pm
Automated merge.
[wget] / tests / HTTPServer.pm
index e3c38e6f5f02c31a580813591b6e21a2726a6dc2..5252b5b8c7c89193857c23cde3eefe8934675cdc 100644 (file)
@@ -26,7 +26,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';
             }