Skip to content

Commit

Permalink
add phar to list
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 18, 2021
1 parent e54a9f6 commit 2d1f76a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Concerns/ValidatesAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ protected function shouldBlockPhpUpload($value, $parameters)
}

$phpExtensions = [
'php', 'php3', 'php4', 'php5', 'phtml',
'php', 'php3', 'php4', 'php5', 'phtml', 'phar'
];

return ($value instanceof UploadedFile)
Expand Down

0 comments on commit 2d1f76a

Please sign in to comment.