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

doSearch method should url encode values #118

Open
alvinlin123 opened this issue Sep 6, 2013 · 1 comment
Open

doSearch method should url encode values #118

alvinlin123 opened this issue Sep 6, 2013 · 1 comment

Comments

@alvinlin123
Copy link

It's possible we search values with '%' in it. Currently flexgrid will send the '%' character as is to the back-end server, which causes issues during decoding.

Possible solution is to do this in the doSearch() function?
p.query = encodeURIComponent($('input[name=q]', g.sDiv).val());
p.qtype = encodeURIComponent($('select[name=qtype]', g.sDiv).val());

@paulopmx
Copy link
Owner

its basically utf8 encoded it should be possible

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