Morning Team,

Please see the thread found at this link, between myself and the OP:

https://sh.itjust.works/post/68082252

I’d like to request that the LinkResolver.ky file be updated so that URIs have their RFC-3986 well-defined Reserved Characters “percent-encoded” before being transferred to a buffer.

If you need an assist on dev for this, lmk :) I’m about since Gingerbread on developing for android, let alone kt but I have the spice😭

  • waldfee@feddit.orgdeleted by creator
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    Is this not an issue with the lemmy-ui? This issue describes a similar problem with links to posts from piefed users, which I made on lemmy iIrc, and the link in it still looks broken in the lemmy-ui.

    Though I don’t have the context of the file you pointed out; Github is down lol

    • Pomal@sh.itjust.worksdeleted by creatorOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      From where I sit it appears to be the same issue, just upstream as well. Getting to speed on the internet is just gonna take time :)

      Edit: same bug, same issue. The @ symbol means something to a url.

  • idunnololz@lemmy.worldM
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I think this has been fixed in the latest release? Can you verify? Thanks.

    Latest release should be v1.87.0.

      • CorrectAlias@piefed.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        On my end, it’s the same for the crosspost links. I do think this is likely an upstream Piefed bug (that may have been slightly fixed), as when I’d copy the urls a week or so ago, it would also have the @ in the URL. Now though, this seems to not be the case.

          • idunnololz@lemmy.worldM
            link
            fedilink
            arrow-up
            4
            ·
            1 month ago

            I think I misunderstood the bug. So the real bug is that the url shouldn’t have an @? I tested in chrome/firefox and it works though so the url definitely seems to be valid.

            I’d argue this is a bug on the other front ends for not supporting this url style.

            • Pomal@sh.itjust.worksdeleted by creatorOP
              link
              fedilink
              arrow-up
              1
              ·
              1 month ago

              This is correct - the underlying linked url must be encoded. So the link that goes into the parenthesis’ ( ) .

              Would you mind pointing me to an appropriate repo to delve?

              • idunnololz@lemmy.worldM
                link
                fedilink
                arrow-up
                1
                ·
                16 days ago

                Bleh this is more complex than I thought. I thought I could just use a library function to encode it but when I pass in the URL and encode it it just gives the same string back. Turns out ‘@’ is a valid symbol for a query param and does not need to be encoded. I might have to say this the URL is valid and it’s the website that is wrong.

                I could do something hacky and just manually replace any @ with the encoded form though. It’s not hard but I would prefer not to.

                • Pomal@sh.itjust.worksdeleted by creatorOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  16 days ago

                  Read the RFC dude, the @ symbol must be encoded lol. It sucks ass but it must be done. Last time I made a filter for special chars it was easiest to do a find on the index of the special chars, remove the char from the string array by index, and then inject the encoded value back into the array by index.

                  Cyberchef is a great resource for testing what right should fuzzily look like, you can also strip logic from them need be on capturing.

    • Pomal@sh.itjust.worksdeleted by creatorOP
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Code block is unchanged, all I saw were some workflow changes and Open AI integrations being worked on.