incubator-ponymail icon indicating copy to clipboard operation
incubator-ponymail copied to clipboard

Problem characters in permalink urls?

Open wrowe opened this issue 8 years ago • 1 comments

I can't be certain without looking at the code and testing different browsers, but it appears that the permalink URL's need to be further %-escaped to be useful. It appears that LT / GT symbols are correctly %-escaped. Although they are displayed as symbols in the human readable chrome url bar, right-click/copy url does the right thing here;

https://lists.apache.org/thread.html/cd6e60a4f86c327e1d25994c4f3ef4f5cb37dfc5a33524461cf47d2a@%3Cannounce.apache.org%3E

Pasting this link into facebook, their parser split the URL at the '@' symbol, which falls in the set of gen-delims, and should be expected to confuse some parsers. Replacing AT with a %40 sequence allows the full link to be parsed, and the resulting url is handled correctly by ponymail.

My table of http vs. uri rfc characters is here, if you wanted to look for and escape other possibly confusing patterns; https://docs.google.com/spreadsheets/d/1y5tENm_L8m0tV5iJHPfg9pQoBTeyjCB8JxwkNEwuH44/edit?usp=sharing

wrowe avatar Sep 13 '17 22:09 wrowe

Note that the mod_mbox URL for the same mail does escape the '@' char:

http://mail-archives.apache.org/mod_mbox/www-announce/201703.mbox/%3CCAMopvkMnEs7RD4sn3FmphFNoNp5rmEve%3D7o93JxDVAN3eqp0UA%40mail.gmail.com%3E

sebbASF avatar Sep 13 '17 22:09 sebbASF