Skip to content

API name with special characters causes it to be inaccessibe in Golem Cloud Console #1302

@Nanashi-lab

Description

@Nanashi-lab

Description:

Creating an API with a name containing special characters in the Golem Cloud Console leads to the API becoming inaccessible. Specifically, I have an API with the name "testingthisaswe;;", Opening the API Page for editing, or deleting leads to the following page

Image

Steps to Reproduce:

  1. Log in to the Golem Cloud Console.
  2. Navigate to the section for creating new APIs. (This is not a problem for Components as it uses ComponentId; not a Problem with API deployment as they do not have individual pages)
  3. Create a new API and enter "test;;" (or another name containing special characters like ";", ":", "/", etc.) as the API name.
  4. Save the new API.
  5. Attempt to access or view the details of the newly created API in the Golem Cloud Console.

Additional Information

  • Should be able to delete this using golem-cloud-cli, Yet to test this.
  • This should also be a problem for Workers, though default workername is generated alphanumerical, you can set custom WorkerName with special characters
  • Not sure if the problem only occurs if the special character is set at the end of name or anywhere in the name.
  • I am avoiding testing this further, figuring out which special characters and if the problem only happens if it is at the end of the name, since I cannot access it for deleting.
  • Fix is easy, Restrict names to only have alpahnumerical, - , _

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions