-
Notifications
You must be signed in to change notification settings - Fork 601
Closed
Description
I am using Phoenix as a SMS gateway. My app is receiving request from another SMS Gateway (https://www.kannel.org/) which sends a GET request to my app. The uri of the request contains a escaped binary that cannot be converted back to utf-8. This gives me the following msg in my logs:
[debug] ** (Plug.Conn.InvalidQueryError) invalid UTF-8 on urlencoded params, got byte 159
This was working fine on v1.8.3.
In order to reproduce this you can add %9f in any query string. The web server will return silently a 400
This is causes a major issue on my side since we can't change the query string from the sender.
I would be great if we could add an option to validate or not the incoming urlencoded params.
Metadata
Metadata
Assignees
Labels
No labels