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

Download page should be robust to misuse #519

Closed
tellison opened this issue May 12, 2022 · 6 comments · Fixed by #1939
Closed

Download page should be robust to misuse #519

tellison opened this issue May 12, 2022 · 6 comments · Fixed by #1939
Labels
good first issue Good for newcomers

Comments

@tellison
Copy link
Contributor

tellison commented May 12, 2022

The download page expects a parameter to ensure the correct download is initiated. When that parameter is not available, likely by the user directly accessing the page, it currently prints out an "oops" message, but it would be more helpful where there is no location provided to redirect the user to the latest releases page (likely using navigate and replace history).

The "oops" error can be retained for internal problems resolving the location link.

@tellison tellison added the good first issue Good for newcomers label May 12, 2022
@smlambert smlambert added this to To do in Good First Issues via automation Aug 4, 2022
@belfarz
Copy link

belfarz commented Oct 9, 2022

hello I'm Hassan Suleiman an outreachy applicant and i would love to work on this

@belfarz
Copy link

belfarz commented Oct 12, 2022 via email

@karianna
Copy link
Contributor

I've updated the links in Tim's original message above so you'll be able to go through to the source code. You'll see that the error message gets printed on line 63 because the location parameter wasn't passed in. Instead of that error message we'd like users to be redirected to the latest releases page.

You should be able to checkout the whole site locally and test it there.

@belfarz
Copy link

belfarz commented Oct 12, 2022

okay so i should add a link to the latest release pages when user clicks on the link in line 62

@karianna
Copy link
Contributor

Correct, but only if that link has no location request parameter

@Chealer
Copy link

Chealer commented Mar 28, 2023

This is not merely about misuse. Google web search (and surely others) links to that page, which suffices to get

Ooops - something doesn't seem quite right here. Please try again.

I also obtained this error by clicking on the ".msi" link from the Latest Releases page on Google Chrome 111.0.5563.
The proper behavior relies on event handlers, which must have been absent when I first clicked. Presumably, some transient bug on the Latest releases page which I can't reproduce must have prevented the relevant event handler from being bound.

Please retitle this to:

Download page: "Ooops - something doesn't seem quite right here." error

Good First Issues automation moved this from To do to Done Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

4 participants