]> source.dussan.org Git - nextcloud-server.git/commit
Add integration tests for transferring files of a user with a risky name
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 18 Sep 2020 16:32:59 +0000 (18:32 +0200)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 18 Sep 2020 16:34:30 +0000 (18:34 +0200)
commitc4c602ee80b3bd6a158274df12019ba4e41e31d0
treebe27f4861292f574dab03c473ba77eee31c46883
parent5e143845cb6d9591d506df4b554348b7dce0296e
Add integration tests for transferring files of a user with a risky name

The files:transfer-ownership performs a sanitization of users with
"risky" display names (including characters like "\" or "/").

In order to allow (escaped) double quotes in the display name the
regular expression used in the "user XXX with displayname YYY exists"
step had to be adjusted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
build/integration/features/bootstrap/CommandLineContext.php
build/integration/features/bootstrap/Provisioning.php
build/integration/features/transfer-ownership.feature