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

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

Add a file type restriction for operation policy definitions #2663

msm1992 opened this issue Mar 18, 2024 · 2 comments · May be fixed by wso2/apim-apps#634 or 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

@tharikaGitHub tharikaGitHub added Component/APIM BugFixing Tracks the bugs to be fixed for APIM 4.3.0 release labels Mar 18, 2024
@tharikaGitHub tharikaGitHub added this to the 4.3.0-Beta milestone Mar 21, 2024
@BLasan BLasan self-assigned this Mar 25, 2024
@BLasan BLasan linked a pull request Mar 25, 2024 that will close this issue
@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 BLasan linked a pull request Mar 26, 2024 that will close this issue
@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants