azure-dev icon indicating copy to clipboard operation
azure-dev copied to clipboard

Aspire: Encode values inserted into URIs and connection strings

Open DamianEdwards opened this issue 1 year ago • 0 comments

See https://github.com/dotnet/aspire/issues/3117

When a value in an Aspire manifest is detected as a URI or connection string format, expressions within that value should be appropriately escaped, e.g. the expressions in the following value should be URL escaped: "amqp://{resources.rabbitusr.value}:{resources.rabbitpw.value}@{resources.rabbitmq.bindings.tcp.host}:{resources.rabbitmq.bindings.tcp.port}"

DamianEdwards avatar Mar 26 '24 16:03 DamianEdwards