Re: GET works, but not from user httpd

Gisle Aas (aas@bergen.sn.no)
Wed, 21 Feb 1996 10:15:46 +0100


In message <9602202151.AA22530@mtn.fsl.noaa.gov>, Bill Moninger writes:
>     foreach $xURL (@myURLs) {
>         if ($xURL) {
>             #I sure as hell don't know why I need to do this vvvvvvvvvv
>             $_=$xURL;     #####################
>             /(.*)/;       #####################
>             $myURL=$1;    #####################

Does this has anything to do with tainting (you use setuid/setgid
scripts or the -T flag to perl)?

>             #but it has something to do with assoc. arrays ^^^^^^^^^^
>             #print "myURL is |$myURL|<br>\n";
>             $request = new HTTP::Request('GET',"$myURL" );
>             $response = $ua->request($request);
>             if ($response->isError) {
>                 $msg= $response->asString;
>                 $msg =~ /Message: (.*)\n/;
>                 push (@bads,$1);
>             }
>         }
>     }

--Gisle