summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-03-24 14:20:15 +0100
committerJoas Schilling <coding@schilljs.com>2020-04-14 18:56:06 +0200
commit609b8aff12935ac158d60491fe7211946ed28838 (patch)
treec03bc008b90a9d8bd7d59258c3d3cebb6c2df203 /apps/files_sharing/tests
parent5e402f8aaeacf05f956c6a73d7300e7849bc4bae (diff)
downloadnextcloud-server-609b8aff12935ac158d60491fe7211946ed28838.tar.gz
nextcloud-server-609b8aff12935ac158d60491fe7211946ed28838.zip
Also disallow ; in remote urls
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files_sharing/tests')
-rw-r--r--apps/files_sharing/tests/Controller/ExternalShareControllerTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php
index 9d8ee9a9d42..d6a4ee8d4f3 100644
--- a/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ExternalShareControllerTest.php
@@ -162,6 +162,7 @@ class ExternalShareControllerTest extends \Test\TestCase {
return [
['nextcloud.com?query'],
['nextcloud.com/#anchor'],
+ ['nextcloud.com/;tomcat'],
];
}