Commit 048bbc6
committed
fix(envlite): block .ht* paths in router so SQLite DB is not downloadable
php -S does not honor Apache .ht* deny rules, so a request for
/wp-content/database/.ht.sqlite would be served as a static binary by
the existing-file passthrough.1 parent 53dac6f commit 048bbc6
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
0 commit comments