Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
korzakovYa91 opened this issue Sep 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@korzakovYa91
Copy link

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

@korzakovYa91 korzakovYa91 added the enhancement New feature or request label Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant