AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Palamedes on March 15, 2012, 08:01:09 PM

Title: Tags with spaces = fail
Post by: Palamedes on March 15, 2012, 08:01:09 PM
Create a product and give it a tag "test tag".  Now visit that products page and click the "test tag" tag, the search results return nothing because space gets turned into %20 in the URL which doesn't get url decoded back for the query..

I imagine other special characters would also fail.  Tags should be stripped of all special characters except only those legal as a tag in a url .

Again this is something I could have fixed for you if there was a git repo..  :)
Title: Re: Tags with spaces = fail
Post by: abolabo on March 16, 2012, 12:04:09 PM
Create a product and give it a tag "test tag".  Now visit that products page and click the "test tag" tag, the search results return nothing because space gets turned into %20 in the URL which doesn't get url decoded back for the query..

I imagine other special characters would also fail.  Tags should be stripped of all special characters except only those legal as a tag in a url .

Again this is something I could have fixed for you if there was a git repo..  :)

Yes, was a bug.
Thanks.