EventFrontier
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
NeatNit@discuss.tchncs.de to Lemmy@lemmy.mlEnglish · 1 month ago

Testing a URL bug

message-square
message-square
5
link
fedilink
4
message-square

Testing a URL bug

NeatNit@discuss.tchncs.de to Lemmy@lemmy.mlEnglish · 1 month ago
message-square
5
link
fedilink

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�2'

link

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

www.example.com/query?P=5�2'

link

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

http://www.example.com/query?P=5�2'

link

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

https://www.example.com/query?P=5�2'

link

alert-triangle
You must log in or register to comment.
  • NeatNit@discuss.tchncs.deOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    https://github.com/LemmyNet/lemmy/issues/6613

  • NeatNit@discuss.tchncs.deOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

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

    https://example.com/query?P=�'hello'

    link

    • NeatNit@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month 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?

      • NeatNit@discuss.tchncs.deOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month 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.

  • NeatNit@discuss.tchncs.deOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    https://example.com/test

    www.example.com/test?utm_source=abc

Lemmy@lemmy.ml

lemmy@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

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

For discussion about the lemmy.ml instance, go to [email protected].

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 4 users / week
  • 407 users / month
  • 1.33K users / 6 months
  • 1 local subscriber
  • 14.7K subscribers
  • 1.27K Posts
  • 13.4K Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org