Problem with parsed result from querystring

Phoenix assumes that the token is URI encoded and it automatically URI decodes it. For example, submitting a form with action get in HTML would URL encode everything. If you are the one generating the token, make sure to URI encode it. If not, you can access the original request_uri via conn.request_uri and parse the token from it.

5 Likes