liquidweb / liquidweb/htaccess-validator-php
Specific RewriteCond makes problems in validating
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hi, the following line throws a false-positive:
RewriteCond %{HTTP_HOST} ^(www\.u|u-|www\.u-|you|www\.you|you-|www\.you-|uni|www\.uni)book\.at$ [NC]
RewriteRule ^(.*)$ https://mywebsite.com/$1 [R=301,L]
In real this line doesn't fail in Apache 2.2 and 2.4
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 reproducing the reported RewriteCond validation result from the issue against Apache 2.2 and 2.4 behavior. Trace the validator entry point that handles this condition and compare its result with Apache; done means this valid condition is no longer reported as a false positive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, php
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100