VerseRef constructor accepts invalid input
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
This throws an exception, as expected:
new VerseRef('1PE 3')
This does not throw an exception:
new VerseRef('1PE 3:6=&*(&^&*$%&^%^asdfoajsdfjalsdhfnjk56asdhf')
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 reading the VerseRef constructor and reproducing both inputs shown in the issue. The malformed reference should be rejected like the first example, while valid references should continue to work; verify the behavior with the project's existing checks or a focused reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100