I want to encode an URL parameter with Ruby. The URL parameter not encoded is like this:
index.php?hash=tlNmgzWNFelvIH1o9ZAWFifpB3RwZOh6DCt5OdIfJCWLo9iZSRONWk1D1rEnSxUp|hi8JcsAHkznPkDFfaS1+xw==
Then I want to decode it from PHP!
I tried ruby:
ERB::Util::url_encode(param)
And then in Php urldecode($param); does not seem to work!