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

blocked with 200 status code: "JavaScript is disabled in your browser." #17285

Open
pajod opened this issue Dec 16, 2024 · 2 comments
Open

blocked with 200 status code: "JavaScript is disabled in your browser." #17285

pajod opened this issue Dec 16, 2024 · 2 comments
Labels
cross browser bug 🐛 Issue specific to a particular browser or resolution security Security-related issues and pull requests

Comments

@pajod
Copy link

pajod commented Dec 16, 2024

Describe the bug
My bookmark for searching on pypi stopped working. For a GET request to https://pypi.org/search/?q=%s I get a cloudflare-esque virtual middle finger, despite the 200 status code.

Expected behavior

  • usually: a search result list (status 2xx)
  • possibly: a redirect to the single result (status 3xx)
  • failing either: an error page with a link to https://status.python.org/ (status 4xx)

To Reproduce

  • origin & rate does not appear to matter, problem even affects networks that did not send any requests this month
  • the page may or may not redirect, in a browser that complies with whatever fastly wants it to do (additional javascript, fetching which results in an empty 400 response)

My Platform

  • reproduced using curl 8.11.1 and Firefox 128.5.2esr

Additional context

Specific message depends on the outcome of some obfuscated javascript:

  • "Please enable JavaScript to proceed."
  • "Please enable cookies to continue."
  • "Oops, something went wrong."
  • "is verifying your browser..."
    Red cross Icon, Please enable JavaScript to proceed.
@pajod pajod added bug 🐛 requires triaging maintainers need to do initial inspection of issue labels Dec 16, 2024
@miketheman
Copy link
Member

Please see this thread that explains what changed and why. https://discuss.python.org/t/fastly-interfering-with-pypi-search/73597/6

@miketheman miketheman added security Security-related issues and pull requests cross browser bug 🐛 Issue specific to a particular browser or resolution and removed requires triaging maintainers need to do initial inspection of issue bug 🐛 labels Dec 16, 2024
@mwoehlke-kitware
Copy link

I had to unblock the fastly-insights.com domain, which is blocked by default by whatever security/privacy blacklists I have configured. I understand the need to protect the service, but maybe using a service that doesn't have a reputation as "harmful" would be a good idea...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross browser bug 🐛 Issue specific to a particular browser or resolution security Security-related issues and pull requests
Projects
None yet
Development

No branches or pull requests

3 participants