Skip to content

Example for quering rules a security policy that contains a special character #41

Description

@korzakovYa91

Is your feature request related to a problem? Please describe.

Hi,
I have a security policy that its id contains a European character : ä, "exämple".
When trying to query this security policy rules I get a "bad-request" response from the NSX.
This is how I run it:

https:///policy/api/v1/infra/domains/default/security-policies/exämple/rules?sort_by=sequence

And the response I get:
{
"module_name": "common-services",
"error_message": "The servletPath was rejected because it can only contain printable ASCII characters.",
"error_code": 400
}

Tried encoding the special char, tried using curl, nothing helps, any possible solution you can think of?

Describe the solution you'd like

An example on how to query this policy rules.

Describe alternatives you've considered

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions