Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19670

double underscore in user ID break user page edit link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 13.10.5
    • User - User Profile
    • None
    • XWiki-Docker-Container
    • Unknown

    Description

      Observed in XWiki 13.10.5 (Docker) with OpenID Connect Authenticator (Azure AD as provider)

      When using OpenID Connect the user IDs are created by the provider as pseudo-random values.

      For one of our users an account with the ID

      5260mhINVdNTNe5sfGC_8nUUdyh_4zmknO2k3__teFY

      was created.

      So his profile is available at

      https://wiki.example.com/bin/view/XWiki/5260mhINVdNTNe5sfGC_8nUUdyh_4zmknO2k3__teFY

      But those double underscores "__" are breaking the "edit profile" link (pen icon).
      The icon links to

      https://wiki.example.com/bin/edit/XWiki/5260mhINVdNTNe5sfGC_8nUUdyh_4zmknO2k3

      (note the missing part beginning with the two underscores)
      while the rest of the ID is displayed as link text

      teFY?editor=inline&category=profile">

      in a narrow column below the pen icon.

      See screenshot.

      Attachments

        Activity

          People

            Unassigned Unassigned
            m.amind M. Amind
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: