Revert "encode the URL"

This reverts commit 19736eeb58fea65ce83256c51144388d98a15945.