Evernote oneboxes have extra %25 for each % in URL

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&noteKey=0f27d5c172c2f811&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs18%2Fsh%2F27973796-83c0-4a13-b35a-29bc0484f7b3%2F0f27d5c172c2f811&title=What%2Bis%2BEmbodied%2BYoga%2BPrinciples%253F

Linked in onebox:

https://www.evernote.com/shard/s18/client/snv?noteGuid=27973796-83c0-4a13-b35a-29bc0484f7b3&noteKey=0f27d5c172c2f811&sn=https%253A%252F%252Fwww.evernote.com%252Fshard%252Fs18%252Fsh%252F27973796-83c0-4a13-b35a-29bc0484f7b3%252F0f27d5c172c2f811&title=What%252Bis%252BEmbodied%252BYoga%252BPrinciples%25253F

1 Like

@techAPJ I recall that recently you made some changes here, is this related?

4 Likes

Fixed via:

https://github.com/discourse/onebox/commit/9a3d81b10739cbf062655e1f80b7f95fadbc9bd5

Thanks for reporting this issue, Jay. :+1:

4 Likes