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

Need a validation to reject policy files with invalid file extensions #12661

Open
ashera96 opened this issue Mar 15, 2022 · 0 comments
Open

Need a validation to reject policy files with invalid file extensions #12661

ashera96 opened this issue Mar 15, 2022 · 0 comments
Assignees
Labels

Comments

@ashera96
Copy link
Contributor

Describe your problem(s)

As of now, the Operation Level Policy Support feature allows file uploads for both Synapse gateway and Choreo Connect. These uploads are expected to have the following file extensions:

  • Regular Gateway (Synapse): .j2 or .xml
  • Choreo Connect: .gotmpl

However, with the current implementation, there is no validation to reject other file extensions (eg: Synapse policy file section even accepts .gotmpl files). We need to implement a validation logic to reject the uploaded file in such scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants