in reply to Re: CGI Input with Escaped Characters
in thread CGI Input with Escaped Characters

I echo out the string in a JS console in my browser when troubleshooting. If I take that whole string to an hmac generator site, I can tell that the hash matches with %26, and if I print it from the Perl command line, it matches the hash from an & sign.
  • Comment on Re^2: CGI Input with Escaped Characters

Replies are listed 'Best First'.
Re^3: CGI Input with Escaped Characters
by poj (Abbot) on Apr 02, 2017 at 17:47 UTC

    It seems like you need to convert & back to %26

    my $raw_data =  uri_escape $query->param('data'); # not uri_unescape
    
    poj