Simple example
suggest changeEncoded URL
http%3A%2F%2Fwww.foo.com%2Findex.php%3Fid%3Dqwerty
Use this command to decode the URL
echo "http%3A%2F%2Fwww.foo.com%2Findex.php%3Fid%3Dqwerty" | sed -e "s/%\([0-9A-F][0-9A-F]\)/\\\\\x\1/g" | xargs -0 echo -e
Decoded URL (result of command)
http://www.foo.com/index.php?id=qwerty
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents