Skip to content

Commit

Permalink
ID#335: fixed issues with "." characters in file names.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Achatz committed Aug 25, 2018
1 parent eb1745d commit f9a82e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/media/actions/StreamMediaAction.php
Expand Up @@ -153,7 +153,7 @@ private function getSanitizedNamespace() {
* Version 0.1, 18.07.2011<br />
*/
private function getSanitizedFileBody() {
return preg_replace('/[^A-Za-z0-9\-_]/', '', $this->getParameters()->getParameter('filebody'));
return preg_replace('/[^A-Za-z0-9\-_\.]/', '', $this->getParameters()->getParameter('filebody'));
}

/**
Expand Down

0 comments on commit f9a82e2

Please sign in to comment.