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 afb0c03 commit f647a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Validation/Concerns/ValidatesAttributes.php
Expand Up @@ -1264,7 +1264,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 f647a24

Please sign in to comment.