Skip to content

Commit

Permalink
Fixed name being lowercased
Browse files Browse the repository at this point in the history
  • Loading branch information
amercier committed Apr 15, 2014
1 parent 00433ec commit 35dbd1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VCloud/Helpers/Upload.php
Expand Up @@ -107,8 +107,8 @@ protected function updateFileInfo()
{
$basename = basename($this->filePath);
if (!preg_match(
'/^(.*)\\.(' . implode('|', self::getSupportedFiles()) . ')$/',
strtolower($basename),
'/^(.*)\\.(' . implode('|', self::getSupportedFiles()) . ')$/i',
$basename,
$matches
)) {
throw new \Exception(
Expand Down

0 comments on commit 35dbd1f

Please sign in to comment.