Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/vgwhois/trunk/main/lib/VGWhoIs/Core.pm
(Generate patch)

Comparing trunk/main/lib/VGWhoIs/Core.pm (file contents):
Revision 19 by daniel-marschall, Mon May 27 13:28:40 2019 UTC vs.
Revision 20 by daniel-marschall, Mon May 27 23:40:30 2019 UTC

# Line 363 | Line 363 | sub VGWhoIs::Core::doquery {
363  
364                  # DM 2019-05-27: Added "-e" (referrer) because www.whois.az needs it
365                  # Things we could additionally add:  --max-time 10 --insecure --stderr /dev/null
366 <                $result = `echo "$additional" | curl --silent -e "$host" -X POST --data-binary \@- "$host" | lynx -dump -stdin 2>&1`; # TODO escape
366 >                $result = `printf "$additional" | curl --silent -e "$host" -X POST --data-binary \@- "$host" | lynx -dump -stdin 2>&1`; # TODO escape
367                  my $loc_exitcode = $?;
368                  $exitcode = max($exitcode, $loc_exitcode);
369                  $result .= "FAILED with exit code $loc_exitcode\n\n" if $loc_exitcode;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines