Improper URL validation and incorrect responses returned for invalid URLS #1069
Unanswered
jnobr
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Current checks for URLs are not satisfactory to handle certain classes of erroroneous input.
Specific examples include:
All of these inputs result in status code 301 instead of 404 or an exception. Additionally, the redirects provided are sometimes invalid URLs or URLs from the wrong domain.
Examples are:
This can be reproduced through a simple get request and by examining the response object.
request = httpcore.request("GET",{url})Beta Was this translation helpful? Give feedback.
All reactions