summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-16 13:37:07 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-16 13:37:07 +0100
commitd5226c88ac10e5715fc4777dff0ef7a461e34e1e (patch)
tree4c05c523a4b7ca9b793391b1499239e5e06c9fed /lib
parent3e8b025f2f4c830d7ec171e8f08c404fbdcde5e6 (diff)
parent759b19775debc7dd3427267a6d711acf434d24fb (diff)
downloadnextcloud-server-d5226c88ac10e5715fc4777dff0ef7a461e34e1e.tar.gz
nextcloud-server-d5226c88ac10e5715fc4777dff0ef7a461e34e1e.zip
Merge pull request #22338 from owncloud/fix_22247
Allow more characters in filenames
Diffstat (limited to 'lib')
-rw-r--r--lib/public/constants.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/constants.php b/lib/public/constants.php
index 518fbcf7ebe..4dd6793a13a 100644
--- a/lib/public/constants.php
+++ b/lib/public/constants.php
@@ -68,7 +68,8 @@ class Constants {
const PERMISSION_ALL = 31;
/**
- * @since 8.0.0
+ * @since 8.0.0 - Updated in 9.0.0 to allow all POSIX chars since we no
+ * longer support windows as server platform.
*/
- const FILENAME_INVALID_CHARS = "\\/<>:\"|?*\n";
+ const FILENAME_INVALID_CHARS = "\\/";
}