Skip to content

Commit e386be9

Browse files
committed
fix(exposures): upgrade negative matcher to strictly scoped DSL and fix yaml indentation
1 parent 8a4c2ee commit e386be9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

http/exposures/configs/laravel-env.yaml

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

58-
- type: word
59-
part: header
60-
words:
61-
- "text/html"
62-
negative: true
58+
- type: dsl
59+
dsl:
60+
- "!contains(tolower(content_type), 'text/html')"
6361

6462
- type: status
6563
status:

0 commit comments

Comments
 (0)