dotnet / dotnet/eShop

Exception handling for itemid

Open
#425 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.9k
Forks
3.8k
Avg merge
1d 11h
Merged PRs (30d)
4

Description

![screenshot](https://github.com/dotnet/eShop/assets/113228139/19d76800-4bd1-49a5-8518-2426d2bf4498)
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.