Encode the redirect url after uploading or writing a script in-browser. Closes #91... hopefully.