Skip to content

Resolved PDP URL format strings should have their name sanitized #214

@cpiosecny

Description

@cpiosecny

Currently, there is no sanitization of resolved format strings (urlkey, sku) in https://github.com/adobe-rnd/aem-commerce-prerender/blob/main/actions/utils.js#L355 via @adobe/helix-shared-string sanitizeName.

This leads to incorrect URLs in the generated JSON-LD, e.g. upper case, spaces, etc. not matching the real PDP URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions