Testing a URL bug

3 months ago by NeatNit to c/lemmy

NeatNit 2 points 3 months ago path: 0 24810795, hotness: undefined, score: 2, children: 0
NeatNit 1 point 3 months ago path: 0 24815781, hotness: undefined, score: 1, children: 2
NeatNit 1 point 3 months ago

Trying to recreate the weird smart quote conversion.

www.gcmap.com/mapui?P=5%B02%2751.59%22N+9%B07%2723.26%22W-28%B017%277.68%22N+121%B038%2717.31%22E&MS=wls&DU=mi with http: becomes:

http://www.gcmap.com/mapui?P=5%EF%BF%BD2%2751.59%22N+9%EF%BF%BD7%2723.26%22W-28%EF%BF%BD17%277.68%22N+121%EF%BF%BD38%2717.31%22E&MS=wls&DU=mi

Edit: oh, it's fine.... maybe it's a kbin issue?

path: 0 24815781 24815929, hotness: undefined, score: 1, children: 1
NeatNit 1 point 3 months ago

For context, in the original post, this was the result:

http://www.gcmap.com/mapui?P=5%EF%BF%BD2%26%238242%3B51.59%26%238243%3BN+9%EF%BF%BD7%26%238242%3B23.26%26%238243%3BW+-+28%EF%BF%BD17%26%238242%3B7.68%26%238243%3BN+121%EF%BF%BD38%26%238242%3B17.31%26%238243%3BE%0D%0A&MS=bm&DU=mi

Note that single-quotes %27 became %26%238242%3B which encodes ′ which is an HTML entity for U+2032 ′, i.e. smart quotes but broken all the way to hell and back.

path: 0 24815781 24815929 24816070, hotness: undefined, score: 1, children: 0
NeatNit 1 point 3 months ago path: 0 24820314, hotness: undefined, score: 1, children: 0
lemmy
lemmy

@lemmy.ml

login for more options
14708
1352
63

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

go to feed...