softwaremill / softwaremill/tapir
Allow not including the received (invalid) value in the error message created by DefaultDecodeFailureHandler
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.5k
- Forks
- 468
- Avg merge
- 5h 37m
- Merged PRs (30d)
- 34
Description
Or, sanitize it so that it's not html
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 with DefaultDecodeFailureHandler and read the linked discussion about client-side XSS to understand how invalid values enter the generated error message. Done means the handler can omit the received value or ensure it cannot be interpreted as HTML, with the chosen behavior covered by the relevant existing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100