Bug: cross.lua definition of strcmp_match does not handle ? meta-characters
Open
- Dominant language
- JavaScript
- Stars
- 80
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
The nginx replacement definition of strcmp_match does not allow for the '?' meta-character.
This should be fairly easy to fix.
I suspect it will also mishandle patterns containing Lua meta-characters such as '%', but that will be much harder to fix, and the patterns are less likely to contain them.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open cross.lua and locate the nginx replacement definition of strcmp_match. Read how existing pattern matching handles meta-characters, then verify the '?' case against the issue description; done means patterns containing '?' match as expected without regressing existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100