We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b84f3e4 commit df411b1Copy full SHA for df411b1
1 file changed
tests/src/Ticket/FileSystemTicketStoreTest.php
@@ -47,7 +47,7 @@ public function testPathTraversalCannotReadOrUnserializeOutsideTicketDirectory()
47
48
$this->expectException(Exception::class);
49
$this->expectExceptionMessage('Invalid ticketId provided.');
50
- $store->getTicket('../' . basename($outsideFile));
+ $store->getTicket('..' . DIRECTORY_SEPARATOR . basename($outsideFile));
51
}
52
53
0 commit comments