Jump to content

Tag Search Pagination Bug When Tag Includes '&' Character


Recommended Posts

I've found an issue with the search feature of the IPS Suite, relating to tagged content specifically. It seems that if a tag happens to include an ampersand ('&'), it messes with the Tag Search pagination. Possibly because of the way IPS handles tag searching within the URL (thinking that the & is a call to another function like "&sortby=relevancy" or something).

To use an example on my live site, I clicked the tag 'PSO Episode I & II' in order to initiate a tag search. Notice the URL structure there.

Could contain: File, Webpage, Person, Face, Head

If I click through to Page 2 of these results, I am presented with the below screenshot:

Could contain: File, Webpage, Purple

I'm given an error that there are no results found, and the tag I have been looking for has been changed to "PSO Episode I" (and not "PSO Episode I & II" as desired). I'm sorry, I didn't get the whole URL captured in the above screenshot, but hopefully you can see that there is a straightforward ampersand in the URL there, if it helps troubleshoot (although changing this to "&" instead does not fix the issue and still gives me 0 results).

It would be nice to have a hotfix for this issue while v4 is still around... but while I'm here, I'd also like to ask, for v5, that we have better-designed URL structures (in general, actually, but in this case while looking for tagged content). Wordpress, for example, uses the URL structure:

https://site.com/tag/this-is-a-tag/

While on an IPS Suite v4 install, you can see by my screenshots the URL is instead an unwieldy:

https://site.com/tags/This IS a Tag?/

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...