From 43be23611d5768f1021b2c5ed4dc9ffb921d97c7 Mon Sep 17 00:00:00 2001 From: anupamme Date: Thu, 8 Oct 2026 10:29:39 +0000 Subject: [PATCH] fix: multi_agent.cwe-798 security vulnerability Automated security fix generated by OrbisAI Security --- .../ch/wsl/box/services/translation/DeepLTranslateService.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/main/scala/ch/wsl/box/services/translation/DeepLTranslateService.scala b/server/src/main/scala/ch/wsl/box/services/translation/DeepLTranslateService.scala index 6f6feb01..feb1e903 100644 --- a/server/src/main/scala/ch/wsl/box/services/translation/DeepLTranslateService.scala +++ b/server/src/main/scala/ch/wsl/box/services/translation/DeepLTranslateService.scala @@ -65,8 +65,6 @@ class DeepLTranslateService(conf: DeepLConfig)(implicit ex:ExecutionContext) ext .body(asJson(DeepLAPIRequest(texts,to.toUpperCase,from.toUpperCase,Some("Text is used in a web application that expose database tables on the web.")))) .response(asJson[DeepLAPIResponse]) - print(r.toCurl) - r.send(backend).map(_.body match { case Right(value) => value.translations.map(_.text) case Left(value) => throw value