Encode the url properly
Merge pull request #106 from JN-Jones/develop

Encode the url properly