Robinio
(Robin)
Juin 20, 2019, 1:59
1
There seems to have been a recent change in Discourse with One Box url encoding.
I run a website that generates links like: www.discourse.org/?a=a%2Cb where %2C is the encoded version of the comma. If I paste this link to a one box:
The generated link is:
https://www.discourse.org/?a=a%252Cb
The encoded comma became %252C.
If you run encodeURIComponent(encodeURIComponent(',')) the result is %252C. IMHO the correct behavior would be not to encode already encoded characters. For example the ampersand works correctly with the latest discourse (https://meta.discourse.org/t/onebox-incorrectly-encodes-urls-with-ampersands/61542 ).
4 « J'aime »
Is this a new bug @techAPJ ?
3 « J'aime »
I had a similar “doubly encoded apostrophe” happen 15 days ago. i.e.
In animal anatomy, Henry's pocket, more formally known as a cutaneous marginal pouch, is a fold of skin forming an open pouch on the lower posterior part of the external ear. The pocket is situated in the approximate location of the antitragus in the human ear. It occurs in a number of mammalian species, including weasels and bats, but is particularly noticeable on the domestic cat, as well as some dog breeds.
It is unknown where the name "Henry's pocket" came from. The earliest known use of the...
as
https://en.m.wikipedia.org/wiki/Henry%27s_pocket
while using Brave
5 « J'aime »
techAPJ
(Arpit Jalan)
Juin 27, 2019, 5:44
5
Corrigé via :
committed 05:40PM - 27 Jun 19 UTC
Merci d’avoir signalé ce problème @Robinio
6 « J'aime »