Skip to content

Swagger UI hangs when accessing ressources including an hyphen #28670

@xguerin-orange

Description

@xguerin-orange

When trying to create a new secret-id for an approle role or when reading an OIDC role identified by a name including an hyphen (for instance "my-role"), the swagger UI hangs forever.
The request does not appear in the logs, meaning it was probably never sent.
It used to who work correctly with older version, and it still works with the integrated CLI

To Reproduce
Steps to reproduce the behavior:

  1. In the WebGUI navigate to "Tools/API Explorer"
  2. Try getting an existing role with an hyphen in its name (i.e. "my-role")
  3. Hit execute
  4. It hangs forever with no logs

Expected behavior
The webGUI should either send the request and display the result or timeout.

Environment:

  • Vault Server Version : 1.17.6
  • Vault CLI Version : n/a problem is with the webGUI
  • Server Operating System/Architecture: n/a problem is on client side

Metadata

Metadata

Assignees

No one assigned

    Labels

    reproducedThis issue has been reproduced by a Vault engineerui

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions