Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you search something like ".net" or anything that has a DOT in front of it, the resulting url will be
/search/google/.net?query=.net.........
And that causes the following error message on the browser: "Firefox has detected that the server is redirecting the request for this address in a way that will never complete."
Im not sure if this bug is on CSE module, or is it on core htaccess clean urls.
If works fine if clean urls are disabled.
Does anybody can share some info about it?
Comments
Comment #0.0
seaarg CreditAttribution: seaarg commentedMore information about the bug
Comment #1
malcomio CreditAttribution: malcomio commentedThis also happens for me using the core node search - as you say, when clean URLs are disabled, there is no issue.
On my site, the result is 403 forbidden, rather than an infinite redirect loop.
Comment #2
malcomio CreditAttribution: malcomio commentedIf the search term is wrapped in quotes, then it works fine.
I haven't been able to reproduce it with any character other than .
This type of search shouldn't result in a broken page, though.
I'm not sure if it is specifically a search problem, or a problem with the .htaccess rules - other URLs with a . after a / will also produce the same behaviour, rather than the drupal 404 page.
e.g. http://www.red-route.org/test/.hello http://www.red-route.org/test/hello
also happens on d.o.: https://www.drupal.org/test/.hello
Comment #3
peter.walter CreditAttribution: peter.walter commentedI see this is now fixed on drupal.org, but still broken on fresh install of 7.x-dev
Comment #4
peter.walter CreditAttribution: peter.walter commentedThis is being blocked by .htaccess