1
0
Mirror von https://github.com/nextcloud/server.git synchronisiert 2024-08-24 17:55:37 +02:00
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
Dieser Commit ist enthalten in:
Aaron Dewes 2023-05-11 17:42:12 +02:00 committet von Aaron Dewes
Ursprung 16908999ed
Commit d79def553f

Datei anzeigen

@ -137,13 +137,13 @@ class AccessTest extends TestCase {
public function testEscapeFilterPartEscapeWildcard() {
$input = '*';
$expected = '\\\\*';
$expected = '\\2a';
$this->assertTrue($expected === $this->access->escapeFilterPart($input));
}
public function testEscapeFilterPartEscapeWildcard2() {
$input = 'foo*bar';
$expected = 'foo\\\\*bar';
$expected = 'foo\\2abar';
$this->assertTrue($expected === $this->access->escapeFilterPart($input));
}