Skip to content

Commit 70f2e62

Browse files
author
Nadim Ritter
committed
SEBSERV-202 remove backslashes from metadata
1 parent a970b55 commit 70f2e62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/ch/ethz/seb/sps/server/weblayer/SEBSessionController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ public CompletableFuture<Void> postScreenshot(
289289
Constants.MAX_METADATA_SIZE,
290290
100);
291291

292+
//remove all backslashes
293+
trimmedMetadata = trimmedMetadata.replace("\\/", "");
294+
295+
292296
// TODO inject session cache and get session by sessionUUID and check if it is still active (not terminated)
293297
// if inactive throw error for SEB client to notify session closed
294298

0 commit comments

Comments
 (0)