bug: some RewriteRules include unnecessary globs for query string
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- apache
- Domain
- backend
Research direction
Start with the linked .htaccess lines 121-122 and review nearby RewriteRules for trailing globs that are intended only to match query strings. Simplify those path patterns while preserving the shown update route, then verify that paths beyond /update no longer match.
Written by the indexing model from the issue text.
Description
For example, the following rule has a trailing .*, but query string is not included in the URL during match in mod_rewrite, so this can be eliminated. The trailing .* is messy and wrong -- we don't want to match any other paths other than .../update itself.
For example:
# developer/14.0+/update
RewriteRule "^developer/[1-9][0-9]\.[0-9]/update(.*)" "/script/developer/14.0/update/index.php$1" [END]
Should simplify to:
# developer/14.0+/update
RewriteRule "^developer/[1-9][0-9]\.[0-9]/update$" "/script/developer/14.0/update/index.php" [END]
- Dominant language
- PHP
- Stars
- 3
- Forks
- 3
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 6
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.
More from keymanapp/api.keyman.com
-
common/ maint
keymanapp/api.keyman.com#359 · 1 assignee ·
-
bug common/
keymanapp/api.keyman.com#357 · 1 assignee ·
-
bug common/
keymanapp/api.keyman.com#356 · 1 assignee ·
-
bug common/
keymanapp/api.keyman.com#323 · 1 assignee ·
-
common/ feat
Difficulty 5/5 Over a week Newbie friendliness 30/100
keymanapp/api.keyman.com#309 ·
All issues in keymanapp/api.keyman.com
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·