Y
Yohan N Leder
Parsing $ENV{'QUERY_STRING'} w/o CGI.pm, it's usual to see code treating
extracted values with a "$value =~ tr/+/ /;" for 'unwebification' of the
'+' signs.
But, this kind of treatment will corrupt any QUERY_STRING content which
is not simple text (for example, I've done test on base64 data).
So, how does CGI.pm handle this ? How does it differenciates
QUERY_STRING content's values which has to be 'not treated' (e.g. like a
base64 encoded image) from the one which has to be 'treated' (e.g. like
a simple text) ?
extracted values with a "$value =~ tr/+/ /;" for 'unwebification' of the
'+' signs.
But, this kind of treatment will corrupt any QUERY_STRING content which
is not simple text (for example, I've done test on base64 data).
So, how does CGI.pm handle this ? How does it differenciates
QUERY_STRING content's values which has to be 'not treated' (e.g. like a
base64 encoded image) from the one which has to be 'treated' (e.g. like
a simple text) ?