Helvetet
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
NeatNit@discuss.tchncs.de to Lemmy@lemmy.mlEnglish · 18 days ago

Testing a URL bug

message-square
message-square
5
link
fedilink
3
message-square

Testing a URL bug

NeatNit@discuss.tchncs.de to Lemmy@lemmy.mlEnglish · 18 days 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
    ·
    18 days ago

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

  • NeatNit@discuss.tchncs.deOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    18 days 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
      ·
      18 days 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
        ·
        18 days 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
    ·
    17 days 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: !lemmy@lemmy.ml

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

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

Visibility: Public
globe

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

  • 165 users / day
  • 215 users / week
  • 923 users / month
  • 1.32K users / 6 months
  • 1 local subscriber
  • 14.7K subscribers
  • 570 Posts
  • 5.07K Comments
  • Modlog
  • mods:
  • Nutomic@lemmy.ml
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org