When 'clean urls' are disabled in Drupal, what means all pathes
look like /?q=node/x, the q from the internal Drupal url is included
in the search. For example trying to access ?q=not/found the
module performs a seach for 'q not found', but it should search
for 'not found' only. At the moment (nearly) every search fail,
because q is not in the node titles in most cases.
(With clean url enabled all works fine). Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | search404.patch | 839 bytes | profix898 |
Comments
Comment #1
profix898 commentedOK. Its a very simple patch for that. I was not sure, you would
like me to commit this to cvs. So here the patch.
Regards, Thilo
Comment #2
profix898 commentedI think you can also use $_GET['q'] instead of request_uri().
It always contains the parameter only and not the ?q= prefix.
Comment #3
larssg commentedThis seems so be fixed with the patch for #58086 and #58147.
Comment #4
(not verified) commented