One of our members dragged in a link from an URL which contains spaces. Those spaces were properly encoded into %20 in the link.
However the link then doesn’t work. When I hover over the link I see the % has been encoded to %25, leaving the space hanging there as a 20.
In fact I’ll drag that link in here so we can see what it does in Meta:
https://www.lycoming.com/sites/default/files/Engine%20Timing%20Marks.pdf
I see in the preview window it decodes it properly into spaces. I’m on a Discourse version from July 15th… any chance this was fixed lately? It is also working in the resulting post here. On my system I get the following… not the URL preview on the status line of the browser:
pfaffman
(Jay Pfaffman)
August 19, 2019, 6:18am
2
Have you updated recently? A bug that sounds like this was fixed in the last week or so.
I got a report that though Evernote URLs one-box as expected, clicking on the link goes the wrong place. Doing a url.gsub(/%25/%/) (in a text editor or whatever) fixes the URL so that it’ll work again.
As pasted:
https://www.evernote.com/shard/s18/client/snv?noteGuid=27973796-83c0-4a13-b35a-29bc0484f7b3¬eKey=0f27d5c172c2f811&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs18%2Fsh%2F27973796-83c0-4a13-b35a-29bc0484f7b3%2F0f27d5c172c2f811&title=What%2Bis%2BEmbodied%2BYoga%2BPrinciples%253F
Li…
That sounds like the one! I searched for %20… if I had looked for %25 it would have come up. Thanks!