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

Search on competitions page breaks when query has a space #10656

Open
weatherman223 opened this issue Jan 20, 2025 · 2 comments
Open

Search on competitions page breaks when query has a space #10656

weatherman223 opened this issue Jan 20, 2025 · 2 comments

Comments

@weatherman223
Copy link
Contributor

Describe the bug
When attempting to search for a competition in the search bar on the competitions page, including a space in the query will cause the search page to become unusable. While some information shows up, pressing any element will cause the page to become blank.

To Reproduce
Steps to reproduce the behavior:

  1. Go to competitions page
  2. Enter any query with a space into the search bar
  3. Click enter and observe error

Expected behavior
The elements on the page should work as expected and not disappear.

Screenshots
Example of observed behavior

Image

Desktop:

  • OS: macOS Sequoia 15.2
  • Browser Firefox
  • Version 133.0.3
@gregorbg
Copy link
Member

I unfonrtunately cannot reconstruct this based on your description.
Searching for Franconia[SPACE]Winter gives me perfectly fine and usable results.

Perhaps your error is related to your specific search term, what were you searching for exactly?

Screenshot

I have enabled an event filter and ticked the checkbox for registration icon, to prove that I am able to intreact with the page after entering the search query
Image

@weatherman223
Copy link
Contributor Author

weatherman223 commented Jan 20, 2025

I have concluded after further testing that this issue only exists on Firefox. Occasionally on my version, the search query fails to include a + as a space and instead leaves the link blank (https://www.worldcubeassociation.org/competitions?search=Franconia Winter instead of https://www.worldcubeassociation.org/competitions?search=Franconia+Winter). It appears to initially include it, but it disappears after appearing for around 0.25 seconds. I wasn't able to replicate this in a private browser tab, so this is probably something with one of my extensions or a cache corruption. However, after clearing my cache and turning off all extensions, as well as updating firefox to version 134.0.1, the issue still persists.

Please let me know if you would like any other information.

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