Skip to content

Commit 3632908

Browse files
authored
Merge pull request #15598 from vatsalgargg/fix-laravel-env-fp
fix(exposures): add negative html matcher to laravel-env (False Positive)
2 parents 3963ef1 + e386be9 commit 3632908

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

http/exposures/configs/laravel-env.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ http:
5555
- "(?mi)^DB_(HOST|PASSWORD|DATABASE)="
5656
condition: or
5757

58+
- type: dsl
59+
dsl:
60+
- "!contains(tolower(content_type), 'text/html')"
61+
5862
- type: status
5963
status:
6064
- 200

0 commit comments

Comments
 (0)