Urls are not checked for control characters. #2800
-
|
There is no check on whether a url contains control characters like This changes the url incl query params during sending the bytes via a connection. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
You're framing a discussion in terms of the code rather than the behaviour. Can you demonstrate an issue against the public API that you believe needs to be resolved? |
Beta Was this translation helpful? Give feedback.
-
What happens is that the '+' sign get replaced during the 'bytes_to_send' step without the user being aware of this. Off course the proper way is to encode this url first, but as a user I would like to get a warning in case I send a non-compatible url aka having the url control characters in there. So requested behviour: |
Beta Was this translation helpful? Give feedback.
From looking into this I don't believe this is the case. Could you make sure you're using the latest versions of the package and dependencies, and demonstrate to why you believe this to be true?
Related: It would be helpful if we had better tooling around being able to debug all the way through to bytes-on-the-wire. Here's what our logging can show us...