Ingress appears to truncate URL encoded values in request path

Jon 0 Reputation points
2024-05-13T13:24:59.2966667+00:00

Hi,

I have a set of container app instances that talk to one another within the same container app environment via DAPR as HTTP requests, these container apps have ingress enabled (restricted to a VNET).

One particular app which calls another app invokes a request where a part of the request path is URL encoded, for example:

/api/v1/orders/PPC0123456/34f7008b-d336-4ce7-8381-47fcad2d7108-AcmeInsurnance_%2311

That gets decoded as:

/api/v1/orders/PPC0123456/34f7008b-d336-4ce7-8381-47fcad2d7108-AcmeInsurnance_#11

This was working without issue for a long time, but recently this started to fail because the incoming request going into the other app is now truncating the URL encoded part of the request path before hitting the app, so now I get this instead:

/api/v1/orders/PPC0123456/34f7008b-d336-4ce7-8381-47fcad2d7108-AcmeInsurnance_

I'm unable to reproduce locally and believe to have narrowed it down to container app ingress that is causing the problem although not sure why this is happening, has there been some update to container apps where this is the expected behaviour or is this a bug?

Thanks for your time.

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
291 questions
0 comments No comments
{count} votes