Skip to content

Commit f647a24

Browse files
committed
add phar to list
1 parent afb0c03 commit f647a24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Validation/Concerns/ValidatesAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ protected function shouldBlockPhpUpload($value, $parameters)
12641264
}
12651265

12661266
$phpExtensions = [
1267-
'php', 'php3', 'php4', 'php5', 'phtml',
1267+
'php', 'php3', 'php4', 'php5', 'phtml', 'phar'
12681268
];
12691269

12701270
return ($value instanceof UploadedFile)

0 commit comments

Comments
 (0)