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

Add a file type restriction for operation policy definitions #2663

Closed
msm1992 opened this issue Mar 18, 2024 · 2 comments · Fixed by wso2/apim-apps#634 · May be fixed by wso2/carbon-apimgt#12371
Closed

Add a file type restriction for operation policy definitions #2663

msm1992 opened this issue Mar 18, 2024 · 2 comments · Fixed by wso2/apim-apps#634 · May be fixed by wso2/carbon-apimgt#12371
Assignees
Milestone

Comments

@msm1992
Copy link

msm1992 commented Mar 18, 2024

Problem

As of now we only have a note dtating that we accept xml and j2 typed files as operation polciy definitions. But the UI and backend allows to upload any file type. It is nice to have a file type restriction here.

Solution

Add a file type restriction to disallow any file type other than j2 or xml.

Affected Component

APIM

Version

4.3.0

Implementation

No response

Related Issues

No response

Suggested Labels

No response

@BLasan
Copy link

BLasan commented Mar 25, 2024

Fixed via - wso2/apim-apps#634

BLasan added a commit to BLasan/carbon-apimgt that referenced this issue Mar 26, 2024
@BLasan
Copy link

BLasan commented Mar 26, 2024

Backend validation - wso2/carbon-apimgt#12371

@tharikaGitHub tharikaGitHub modified the milestones: 4.3.0-Beta, 4.3.0-RC Mar 28, 2024
BLasan added a commit to BLasan/carbon-apimgt that referenced this issue Jul 29, 2024
@RakhithaRR RakhithaRR reopened this Aug 16, 2024
@RakhithaRR RakhithaRR added this to the APIM 4.4.0 milestone Aug 16, 2024
BLasan added a commit to BLasan/carbon-apimgt that referenced this issue Aug 16, 2024
BLasan added a commit to BLasan/carbon-apimgt that referenced this issue Aug 16, 2024
@RakhithaRR RakhithaRR modified the milestones: APIM 4.4.0, APIM 4.5.0 Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants