Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Passing a string containing % , / , > to a method of WWW::Mechanize is causing issues

by mayanksri1989 (Initiate)
on Apr 21, 2016 at 07:11 UTC ( [id://1161065]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Passing a string containing % , / , > to a method of WWW::Mechanize is causing issues
in thread Passing a string containing % , / , > to a method of WWW::Mechanize is causing issues

Yes, I did! it prints properly. If I uri_escape it and sent there is not issue from perl side. But escaping the % sign adds new characters and it causes issues for me. I want to know if there is a way to pass a string in the format mentioned above as it is?
  • Comment on Re^4: Passing a string containing % , / , > to a method of WWW::Mechanize is causing issues

Replies are listed 'Best First'.
Re^5: Passing a string containing % , / , > to a method of WWW::Mechanize is causing issues
by Corion (Patriarch) on Apr 21, 2016 at 07:27 UTC

    Does the website work if you manually enter that string into the field?

    If so, analyze the difference between the data sent when manually entering the string and when using WWW::Mechanize::Firefox. For example the Mozilla Live HTTP Headers extension can show you the data that Firefox sends.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1161065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-18 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found