From: Alex Dehn Date: Fri, 13 Jun 2025 12:34:31 +0000 (+0200) Subject: Fix RFC8040 url encode query for ';' X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F14561%2F2;p=oam.git Fix RFC8040 url encode query for ';' IssueID: OAM-471 Change-Id: I2a98f7e313fe973c553ce344f2b62880dde75d3c Signed-off-by: Alex Dehn --- diff --git a/solution/smo/common/docker-compose.yaml b/solution/smo/common/docker-compose.yaml index 20fa1cd..1ff67f1 100755 --- a/solution/smo/common/docker-compose.yaml +++ b/solution/smo/common/docker-compose.yaml @@ -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