summaryrefslogtreecommitdiffstats
path: root/tests/lib/files/mapper.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-06 15:03:29 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-06 15:03:29 +0100
commit4d91fa4c93aa88480a52eed40fe65d7fdd4912d4 (patch)
tree6c3a8b06122c8743fa1cd84e6aeda01fc023a758 /tests/lib/files/mapper.php
parent80e38b84dccde44c40109e9721fac00984f43ef7 (diff)
downloadnextcloud-server-4d91fa4c93aa88480a52eed40fe65d7fdd4912d4.tar.gz
nextcloud-server-4d91fa4c93aa88480a52eed40fe65d7fdd4912d4.zip
Normalize before processing
Diffstat (limited to 'tests/lib/files/mapper.php')
-rw-r--r--tests/lib/files/mapper.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lib/files/mapper.php b/tests/lib/files/mapper.php
index 18161734b60..cd35d4f8fc3 100644
--- a/tests/lib/files/mapper.php
+++ b/tests/lib/files/mapper.php
@@ -68,6 +68,15 @@ class Mapper extends \Test\TestCase {
*/
array('D:/' . md5('ありがとう'), 'D:/ありがとう'),
array('D:/' . md5('ありがとう') . '/issue6722.txt', 'D:/ありがとう/issue6722.txt'),
+ array('D:/' . md5('.htaccess'), 'D:/.htaccess'),
+ array('D:/' . md5('.htaccess.'), 'D:/.htaccess.'),
+ array('D:/' . md5('.htAccess'), 'D:/.htAccess'),
+ array('D:/' . md5('.htAccess\\…\\') . '/a', 'D:/.htAccess\…\/とa'),
+ array('D:/' . md5('.htaccess-'), 'D:/.htaccess-'),
+ array('D:/' . md5('.htaあccess'), 'D:/.htaあccess'),
+ array('D:/' . md5(' .htaccess'), 'D:/ .htaccess'),
+ array('D:/' . md5('.htaccess '), 'D:/.htaccess '),
+ array('D:/' . md5(' .htaccess '), 'D:/ .htaccess '),
);
}