Skip to content

Commit fd28f5e

Browse files
authored
Merge pull request #36 from SafeExamBrowser/SEBSP-202
SEBSERV-202 remove backslashes from metadata
2 parents a970b55 + 70f2e62 commit fd28f5e

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)