Hi,
I have URL's with the plus sign (+) in which are not being matched.
I've got round the problem by adding in:
$queries = str_replace('+', ' ', $queries);
after
if ($getkeylower != 'q' && !$page_match) {
I'm sure there is a better way around this, is it something that could be built into the module?
thanks
Comments
Comment #1
lsolesen commentedCould you create a patch for easier testing?
Comment #2
SolomonGifford commentedDrupal (via php) interprets a + in the url as a space because it is passed through urldecode. To match a +, simply add a space to your url argument.
A url of example.com?a=b+c will match the space, not the +.