Testing a URL bug

The following links should all have the query string ?P=5%B02%27.

example.com/query?P=5%B02%27

example.com/query?P=5%B02%27

link

www.example.com/query?P=5%B02%27

www.example.com/query?P=5%B02%27

link

http://www.example.com/query?P=5%EF%BF%BD2%27

http://www.example.com/query?P=5%EF%BF%BD2%27

link

https://www.example.com/query?P=5%EF%BF%BD2%27

https://www.example.com/query?P=5%EF%BF%BD2%27

link

3 points · 5 comments · view on lemmy.world

5 Comments

NeatNit@discuss.tchncs.de · 2 pts · 35d
NeatNit@discuss.tchncs.de · 1 pts · 35d (2 replies)

https://example.com/query?P=%EF%BF%BD%27hello%27

https://example.com/query?P=%EF%BF%BD%27hello%27

link

NeatNit@discuss.tchncs.de · 1 pts · 35d (1 reply)

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?

NeatNit@discuss.tchncs.de · 1 pts · 35d

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.

NeatNit@discuss.tchncs.de · 1 pts · 35d