when I type a space in the search bar ("test "), the result url will contain %20(test%20) which leads to a wrong page. How do I replace the %20(space char) from the url when executing the search function?
I have tried to use str_replace in the source file : public_html/storage/modification/catalog/controller/product/search.php
something like
Code: Select all
$url = str_replace('', '%20', $url);
Any one have any idea on this?
