Skip to content

Azure Egress with BlobPrefix+Queue will encode some characters incorrectly #1585

Open
@kelltrick

Description

@kelltrick

When an Azure Egress provider is enabled with a blobPrefix and queueName+queueAccountUri the quote characters (' and ") in the blobPrefix will be handled by blob storage, however, they will not be encoded correctly in the queue message.

Azure Queues allow any characters that are no XML special characters. Blob Names are allowed to be anything that is not URL reserved.

We should probably add a Regex filter to blobPrefix that prevents people from defining blob prefixes with XML characters because they would work for blobs but cause problems with queues.

Proposed regex: ^[^<>"'&]+$
Really Strict regex: ^[a-zA-Z0-9\-_\.]+$

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions