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

Exception handling for itemid #425

Open
MsN-12 opened this issue Jun 14, 2024 · 1 comment
Open

Exception handling for itemid #425

MsN-12 opened this issue Jun 14, 2024 · 1 comment

Comments

@MsN-12
Copy link

MsN-12 commented Jun 14, 2024

screenshot
the problem is when some one put negative or zero id for itemID, the exception throws and its not handled.
i think for security reasons, input id sanitization is needed.

@ks1990cn
Copy link

How this makes this code vulnerable or less secure? Is this case even possible from UI, I tried and unable to replicate.

I think, just you are trying outside the box case to hit directly with invalid data & this code is already in try catch block.

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

No branches or pull requests

2 participants