-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
fix: resolve incorrect redirect to 404 page on search fields #3959
fix: resolve incorrect redirect to 404 page on search fields #3959
Conversation
|
Name | Link |
---|---|
🔨 Latest commit | 58819c8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Compliance Checks Passed!
✅ Deploy Preview for design-insights ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! 🍕
Co-authored-by: Brandon Roberts <[email protected]>
@brandonroberts sorry it took long to apply changes, I am quite new to open source, So I didn't knew what to do. |
@Mandeep56Singh no problem, thanks |
## [2.60.0](v2.59.0...v2.60.0) (2024-08-22) ### 🐛 Bug Fixes * always show Add to Workspace button on repositories table ([#4003](#4003)) ([5954f32](5954f32)) * resolve incorrect redirect to 404 page on search fields ([#3959](#3959)) ([298161d](298161d)) ### 🍕 Features * copy OSSF Scorecard as image ([#4000](#4000)) ([690fb38](690fb38)) * copy repo page YOLO Chart as image ([#4014](#4014)) ([376dbe2](376dbe2)) * now you can copy the contributor confidence chart as an image ([#3966](#3966)) ([3291c6d](3291c6d))
fix : resolve incorrect redirect to 404 page on search fields
Closes #3949
Description
The search functionality in explore was redirecting users to a 404 error page
when they entered a query. This was caused by incorrect URL routing
in the search handle function
This commit fixes the routing logic by ensuring the search terms
are correctly encoded, thus preventing the 404 error.
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings
OpenSauced.Insights.-.Javascript._.Dashboard.-.Google.Chrome.2024-08-15.23-48-15.mp4
Steps to QA
Tier (staff will fill in)
[optional] What gif best describes this PR or how it makes you feel?
Really sorry due to prettier some lines sorted unintentionally