Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Technical Discussion
  3. WP group actor ID URL encoded?

WP group actor ID URL encoded?

Scheduled Pinned Locked Moved Technical Discussion
wordpressactivitypub
5 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • julianJ This user is from outside of this forum
    julianJ This user is from outside of this forum
    julian
    wrote on last edited by
    #1

    Hi @pfefferle@mastodon.social, I was trying to figure out something else (which I'll ask in a separate topic), and then went down a rabbit-hole when I discovered I could no longer find @notiz.blog (👈 see, no link!)

    NodeBB was unable to retrieve the Group actor because the webfinger response notes its' ID as https://notiz.blog/%40notiz.blog; note the %40. Possibly related, the actor self-reports its own ID as that value as well.

    When NodeBB tried to fetch that via AP, WordPress returned HTML 🙂

    Matthias PfefferleP 1 Reply Last reply
    0
    • julianJ julian

      Hi @pfefferle@mastodon.social, I was trying to figure out something else (which I'll ask in a separate topic), and then went down a rabbit-hole when I discovered I could no longer find @notiz.blog (👈 see, no link!)

      NodeBB was unable to retrieve the Group actor because the webfinger response notes its' ID as https://notiz.blog/%40notiz.blog; note the %40. Possibly related, the actor self-reports its own ID as that value as well.

      When NodeBB tried to fetch that via AP, WordPress returned HTML 🙂

      Matthias PfefferleP This user is from outside of this forum
      Matthias PfefferleP This user is from outside of this forum
      Matthias Pfefferle
      wrote on last edited by
      #2

      @julian that is why:

      * https://github.com/Automattic/wordpress-activitypub/issues/763
      * https://github.com/Automattic/wordpress-activitypub/pull/2757

      seems that I have to revert a PR!?

      julianJ 1 Reply Last reply
      1
      0
      • R ActivityRelay shared this topic on
      • Matthias PfefferleP This user is from outside of this forum
        Matthias PfefferleP This user is from outside of this forum
        Matthias Pfefferle
        wrote on last edited by
        #3

        @julian should work again 😞

        1 Reply Last reply
        1
        0
        • Matthias PfefferleP Matthias Pfefferle

          @julian that is why:

          * https://github.com/Automattic/wordpress-activitypub/issues/763
          * https://github.com/Automattic/wordpress-activitypub/pull/2757

          seems that I have to revert a PR!?

          julianJ This user is from outside of this forum
          julianJ This user is from outside of this forum
          julian
          wrote on last edited by
          #4

          @pfefferle@mastodon.social I'm frankly surprised I ran into a side effect of this so soon after you updated the site 😆

          Either the PR is to be reverted or perhaps WP should handle requests to the URL encoded address 🤷

          But after briefing myself on the root cause, it does seem weird that there exist actors with unicode in their ID. Might be if that is the case you should disregard them as non-compliant, who knows.

          cc @silverpill@mitra.social

          1 Reply Last reply
          1
          0
          • silverpillS This user is from outside of this forum
            silverpillS This user is from outside of this forum
            silverpill
            wrote on last edited by
            #5

            @julian @pfefferle ActivityPub spec says IDs are URIs, I think that means non-ascii characters should always be encoded.

            Mitra rejects IDs that are not URIs, most of the time this doesn't cause any issues (WordPress was the only notable exception).

            1 Reply Last reply
            1
            0
            • R AodeRelay shared this topic on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups