Skip to content

For resourceId() function, urlencode the resource name #1186

@SteveL-MSFT

Description

@SteveL-MSFT

Summary of the new feature / enhancement

Currently, to determine if a resource is unique, the resourceId() concatenates the type and name with a colon in between.

Proposed technical implementation details (optional)

It would be better to urlencode the name so that special characters don't present a problem and don't require restrictions on the resource name.

This is something that only happens inside the engine (unless the user explicitly retrieves the resourceId(), but it's only intended to be a unique identifier, so isn't a breaking change.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions