Skip to content

Commit

Permalink
Merge pull request #8 from pm14kas/clear-hash-symbol-on-upload
Browse files Browse the repository at this point in the history
escaping hash symbol for uploaded filenames
  • Loading branch information
IvanLutokhin authored Nov 11, 2020
2 parents b4077cd + e0dc0e5 commit edef3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/FileUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function clearName($originalName)
}

$originalName = preg_replace(
'/[\+\\/\%]+/',
'/[\+\\/\%\#\?]+/',
'_',
$originalName
);
Expand Down

0 comments on commit edef3d0

Please sign in to comment.