Fix RFC8040 url encode query for ';' 61/14561/2 l-release
authorAlex Dehn <alexander.dehn@highstreet-technologies.com>
Fri, 13 Jun 2025 12:34:31 +0000 (14:34 +0200)
committerMartin Skorupski <martin.skorupski@highstreet-technologies.com>
Fri, 13 Jun 2025 12:43:42 +0000 (12:43 +0000)
IssueID: OAM-471
Change-Id: I2a98f7e313fe973c553ce344f2b62880dde75d3c
Signed-off-by: Alex Dehn <alexander.dehn@highstreet-technologies.com>
solution/smo/common/docker-compose.yaml

index 20fa1cd..1ff67f1 100755 (executable)
@@ -49,6 +49,8 @@ services:
       - --entrypoints.web.http.redirections.entrypoint.to=websecure
       - --entrypoints.web.http.redirections.entrypoint.scheme=https
       - --entrypoints.websecure.address=:443
+      # OAM-471: This command is necessary to ensure that traefik does not replace the semicolon in the RFC8040 filter query with a '&'.
+      - --entrypoints.websecure.http.encodequerysemicolons=true
       - --entrypoints.websecure.http.tls.domains[0].main=gateway.${HTTP_DOMAIN}
       - --entrypoints.websecure.http.tls.domains[0].sans=*.${HTTP_DOMAIN}
       - --entrypoints.ssh-netconf-callhome.address=:4334
@@ -58,7 +60,7 @@ services:
       - --providers.docker.exposedByDefault=false
       - --providers.docker.watch=true
       - --providers.file.filename=/etc/traefik/middleware.yaml
-      
+
     volumes:
       - /var/run/docker.sock:/var/run/docker.sock:ro
       - ./gateway/conf/middleware.yaml:/etc/traefik/middleware.yaml:ro