From de5eedb2f5db7d2af4705d5a3f11d99bb54a1998 Mon Sep 17 00:00:00 2001 From: Andreas Sagen Aspaas Date: Thu, 26 Oct 2023 12:21:25 +0200 Subject: [PATCH] remove all non-ascii characters --- .../kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt b/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt index f7a8499a..6eb9f522 100644 --- a/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt +++ b/src/main/kotlin/no/nav/syfo/application/BlockingApplicationRunner.kt @@ -160,7 +160,7 @@ class BlockingApplicationRunner( val legekontorHerId = extractOrganisationHerNumberFromSender(fellesformat)?.id val legekontorReshId = extractOrganisationRashNumberFromSender(fellesformat)?.id - val legekontorOrgName = msgHead.msgInfo.sender.organisation.organisationName + val legekontorOrgName = msgHead.msgInfo.sender.organisation.organisationName.replace("[^\\p{ASCII}]".toRegex(), "") val partnerReferanse = receiverBlock.partnerReferanse