Drupal search is not working after we search with the special characters. For example, when we search with the special characters like &$#%^@. After this search, the page is redirected to http://example.com/search/node/&$#%^@.

In that page, if I search with some other text like 'test', Drupal search is not working. It is retained in the same url (http://example.com/search/node/&$#%^@).

I tried in different websites which are using core Drupal search. It is failing in all websites.

Comments

kirantej_p created an issue. See original summary.

cilefen’s picture

Priority: Critical » Major
Issue tags: -Search API, -special characters

If you look at the criteria for a critical bug, this issue does not have them.

stephaniefuda’s picture

cdalcais & stephanie_42 are at the New Orleans 2016 sprint looking at this issue.

stephaniefuda’s picture

I have tested this issue using:
Mac 10.11.4
MAMP Pro V.3.5
PHP 5.6.10
Drupal Versions: drupal-7.4.3

I’ve tested this issue by putting "&$#%^@“ into the search block, when I did this the URL string was encoded to: mysite.com/search/node/%26%24%23%25%5E%40 and the page that came up was a 404.

After this failed search I put “test” into the same search block without modifying any of the returned info on the page or in the URL path from the previous special char search.

The search itself returned content with the word “test” in it, and the URL path is:
mysite.com/search/node/test

Can you give more information about:
Are you still having this issue?
The environment you’re on?
Any log errors that were recorded when you triggered this failure.
What do you mean when you say “It is failing in all websites”? How many sites are there? how are they all set up?

jhodgdon’s picture

Status: Active » Closed (cannot reproduce)

Based on #4, and my own testing, I will just close this...