[gopher] First shot at a gopher mole - results vary, but why?
Kim Holviala
kim at holviala.com
Sat Jan 25 20:15:27 UTC 2014
On Jan 25, 2014, at 20:12, Cameron Kaiser <spectre at floodgap.com> wrote:
> The problem is this line:
>
>> if ( $SELECTOR =~ /^$REQUEST[?](.*)/ )
> However, Bucktooth already gives you the arguments:
> look at @ARGV. You don't need to parse them again. It does all the hard work
> like finding the delimiter and doing any necessary decoding.
Some servers also give the args in $QUERY_STRING just like in CGI scripts.
- Kim
More information about the Gopher-Project
mailing list