maproulette / maproulette/maproulette-backend
Limit length of input fields
Open
Nobody has claimed this yet.
quick-fix
- Dominant language
- Scala
- Stars
- 53
- Forks
- 39
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 12
Description
Should be sane: Challenge title < 50 positions, Task instruction < 300 positions?
Contributor guide
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 locating the validation or creation entry points for Challenge titles and Task instructions in the Scala backend. Check how existing input constraints are tested, then enforce the requested limits of fewer than 50 characters for challenge titles and fewer than 300 for task instructions. Done means oversized values are rejected consistently and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100