stable

Clone or download

Read-only

fix: File extension from the filename was not taken in account

Part of story #24166 apply a naming pattern on files to enforce a convention To test the fix, I suggest you to upload and download a file which is not an image. You can see the difference with a POM (.pom) file for example. Change-Id: I8c6941cbd525ecd43a52868ce73f36646b58cf1f

Modified Files

Name
M plugins/docman/include/FilenamePattern/FilenameBuilder.php +6 −0 Go to diff View file
M plugins/docman/tests/unit/FilenamePattern/FilenameBuilderTest.php +25 −2 Go to diff View file