eShop icon indicating copy to clipboard operation
eShop copied to clipboard

Exception handling for itemid

Open MsN-12 opened this issue 1 year ago • 1 comments

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.

MsN-12 avatar Jun 14 '24 21:06 MsN-12

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.

ks1990cn avatar Jun 15 '24 14:06 ks1990cn