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

$sanitizer->selectorValue() fails with strings that have $ #134

Closed
apeisa opened this issue Nov 19, 2012 · 3 comments
Closed

$sanitizer->selectorValue() fails with strings that have $ #134

apeisa opened this issue Nov 19, 2012 · 3 comments

Comments

@apeisa
Copy link
Contributor

apeisa commented Nov 19, 2012

See: http://processwire.com/search/?q=$test

@apeisa
Copy link
Contributor Author

apeisa commented Nov 19, 2012

More special chars that cause errors:

http://processwire.com/search/?q=!
http://processwire.com/search/?q==
http://processwire.com/search/?q=^

Shouldn't those be handled differently?

@ryancramerdesign
Copy link
Owner

Thanks, I've updated selectorValue to remove those characters and a few others:
a7eab6a

@apeisa
Copy link
Contributor Author

apeisa commented Nov 27, 2012

Thanks for the fix!

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