Skip to content

Commit 51f9c10

Browse files
authored
Update XssCleanInput.php
1 parent 9c773ed commit 51f9c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/XssCleanInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ protected function transform($key, $value)
142142

143143
private function enabledInConfig($key): bool
144144
{
145-
return config("xss-protection.middleware.{$key}");
145+
return (bool) config("xss-protection.middleware.{$key}");
146146
}
147147

148148
/**

0 commit comments

Comments
 (0)