Jump to content

Return Tag links URL encoded


Darksbane0

Recommended Posts

Currently links to tags for IPContent stuff returns something like this

FakeForums.com/forums/index.php?/tags/ccs/The+Tag/page__search_app_filters[ccs][searchInKey]__database_1

the presence of the [] in the link/url means that when someone clicks on the tag and copies the link that it can mess up when pasting it to the forums or using it in other places that support bbcode. Most BBCode parsers will break on the extra square brackets.

I suggest that the end portion be returned url encoded, like so

FakeForums.com/forums/index.php?/tags/ccs/The+Tag/page__search_app_filters%5Bccs%5D%5BsearchInKey%5D__database_1

This would prevent the url from breaking the parser (at least in the places I tested it) and it still works fine when you go to the link.

Also if anyone knows of any hooks that fixes this issue please let me know as it causes alot of frustration on my forum when people try to share content tag links.

Link to comment
Share on other sites

It works, I manually changed the URL by replacing the [] with the url encoded version and created a link back to my boards on an external website (exactly like above just with my forum name and tags). The original version with the unencoded [] did not work on the external boards, even if the url was wrapped in quotes in the bbcode. The changed version worked fine and pulled up the correct articles.

Even if it didn't work though, IMO it is something that would need changing because it causes this problem for no real reason, other characters could be used as delemiters instead of ones which brake bbcode parsing for an average user that just wants to share a link.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...