Links improperly escaped

Our platform uses links that contain #! in the address, and recently it seems like Discourse is improperly escaping those links when displayed. https://support.glitch.com/t/glitch-freezes-when-trying-to-work-on-projects/13349?u=cori is an example post, the top link there in edit view is https://glitch.com/edit/#!/equinox-watch but the boxed link is https://glitch.com/edit/#%21%2Fequinox-watch, which ends up failing.

This seems like relatively new behavior. I suppose blacklisting our domain in OneBox might help, but I’m curious if something changed or if there’s any other mechanism to prevent this.

4개의 좋아요

This sounds like same as Evernote oneboxes have extra %25 for each % in URL

3개의 좋아요

The presentation is a little different, but it does indeed seem like the same root cause, thanks!

2개의 좋아요

Fixed via:

https://github.com/discourse/onebox/commit/7bfbc3d7471b20ea5210fe5d1fe56b9e945bc29d

The fix will be deployed on your instance soon. Thanks for reporting this issue @cori :+1:

6개의 좋아요