Missing length/format validation
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3
- Forks
- 2
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 3
Description
Missing length/format validation on free-text DTO fields (engine Name, languages, unbounded TextIds/filter lists) in CreateEngine.cs, CreateWebhook.cs, CreateDataFile.cs, StartBuild.cs. Add [StringLength]/[MaxLength] and collection caps (also reduces the C2/M3 surface; [ApiController] auto-validates DataAnnotations).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the DTO fields in CreateEngine.cs, CreateWebhook.cs, CreateDataFile.cs, and StartBuild.cs, focusing on free-text fields, languages, TextIds, and filter lists. Add the requested length, format, and collection limits, then verify that the API's automatic DataAnnotations validation rejects values exceeding those limits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 70/100