Revert "fixing decoding/encoding urls"

This reverts commit 6e41d521a35982f31f3e6d83c1c0aa8d464a5ebc.
only send the encoded URL to phantom and use decoded url everywhere else