Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid response returned for some urls. #6

Closed
nagylzs opened this issue Nov 26, 2020 · 1 comment
Closed

Invalid response returned for some urls. #6

nagylzs opened this issue Nov 26, 2020 · 1 comment

Comments

@nagylzs
Copy link

nagylzs commented Nov 26, 2020

Here is an example. If I do a request like this:

http://localhost:5000/?url=https%3A%2F%2Ftest.localhost%2Ftest

Then I get HTTP 200 and Content-Type: image/png. But it actually returns the string "false".

Request
Response

You can see that the response has content-length: 5 so it cannot be a valid image. It contains the string "false". But the header says Content-Type: image/png and HTTP 200. This is messed up.

By the way, "test.localhost" is a non-existent domain. The original request to https://test.localhost/test cannot return a HTTP code, because test.localhost cannot be connected and so there is no request to make. But this should never return with HTTP 200.

@jasonraimondi
Copy link
Owner

Sorry I just never saw this or maybe I did and forgot, but anyways, this is fixed in 1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants