News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Tags with spaces = fail

Started by Palamedes, March 15, 2012, 08:01:09 PM

Previous topic - Next topic

Palamedes

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..  :)
~Pal

abolabo

Quote from: 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..  :)

Yes, was a bug.
Thanks.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -