You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a tag with a name that's got URI special characters in it, e.g. "status:404 NOT FOUND", which contains spaces and a colon, the HTML generated for that tag will be something like
<a class="tag" data-tag-id="63786" data-tag-name="http-response:404 NOT FOUND"
data-hub-id="1" data-hub-feed-id="12" data-hub-feed-item-id="127764"
href="/hubs/1/tag/http-response%253A404%2520NOT%2520FOUND">http-response:404 NOT FOUND</a>
in which the special characters have been double-escaped when generating the link to the all-items-with-this-tag page. The correct link would be to /hubs/1/tag/http-response%3A404%20NOT%20FOUND.
These links are always generated with code of the form
and I believe the problem is that u escapes URI special characters once, and then hub_tag_show_path does it again. However, I cannot find the documentation for u (which I presume is a Rails built-in) nor can I find the definition of hub_tag_show_path (which has to be somewhere in the TagTeam source code, but grep -r show_path * from the top level only brings up the uses!) so I cannot be certain of this.
The text was updated successfully, but these errors were encountered:
If you have a tag with a name that's got URI special characters in it, e.g. "status:404 NOT FOUND", which contains spaces and a colon, the HTML generated for that tag will be something like
in which the special characters have been double-escaped when generating the link to the all-items-with-this-tag page. The correct link would be to
/hubs/1/tag/http-response%3A404%20NOT%20FOUND
.These links are always generated with code of the form
and I believe the problem is that
u
escapes URI special characters once, and thenhub_tag_show_path
does it again. However, I cannot find the documentation foru
(which I presume is a Rails built-in) nor can I find the definition ofhub_tag_show_path
(which has to be somewhere in the TagTeam source code, butgrep -r show_path *
from the top level only brings up the uses!) so I cannot be certain of this.The text was updated successfully, but these errors were encountered: