Jump to content

Error when searching for "*"


Philipp
 Share

Recommended Posts

Using the default search.php template I'm getting an error when searching " * " (Example on the processwire.com site).

Error Exception: Unknown Selector operator: '~=*' -- was your selector value properly escaped?

I've tried to sanitize the input but it didn't work. I could use a "classic" PHP filtering but maybe there is a better solution with the Processwire API?

I'm note sure if this was known before but the forum search didn't find any matches.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...