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

fix to Next issue of char escaping #69

Conversation

Andrew923
Copy link
Contributor

@Andrew923 Andrew923 commented Nov 13, 2022

Description

Encodes query (both noob and normal) and default redirect (noob)
Closes #48, #54, #62

Type of change

[x ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested on localhost for both normal and noob mode g C++, C++, h&m

@netlify
Copy link

netlify bot commented Nov 13, 2022

Deploy Preview for scottylol ready!

Name Link
🔨 Latest commit a86108f
🔍 Latest deploy log https://app.netlify.com/sites/scottylol/deploys/63d17f0379d058000839ca2f
😎 Deploy Preview https://deploy-preview-69--scottylol.netlify.app/help
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Andrew923
Copy link
Contributor Author

For some reason doesn't work on netlify deploy preview (except for noob fallback mode) despite working on localhost

@Andrew923 Andrew923 closed this Nov 13, 2022
@Andrew923 Andrew923 reopened this Nov 13, 2022
@Andrew923 Andrew923 marked this pull request as draft November 13, 2022 04:56
@Andrew923 Andrew923 changed the title bandage fix to Next issue of char escaping fix to Next issue of char escaping Dec 3, 2022
@Andrew923 Andrew923 marked this pull request as ready for review December 3, 2022 20:20
@Andrew923
Copy link
Contributor Author

Testing by directly typing url in localhost and netlify doesn't work (http://localhost:3000/search?q=g c++) because characters aren't escaped when you directly type them in, but setting the search engine to http://localhost:3000/search?q= and typing in the search bar works because then the characters are escaped.

Copy link
Contributor

@hdavidethan hdavidethan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making the changes!

@hdavidethan hdavidethan merged commit 653f20a into ScottyLabs:main Jan 25, 2023
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

Successfully merging this pull request may close these issues.

[Bug] Special characters not escaped in search
2 participants