Skip to content

BinaryFileManager - StripDimensions UrlDecode ran only when no dimensions #84

@bb-ceccles

Description

@bb-ceccles

When an image has spaces or special characters there is a difference in how the image handler is working depending on if the image does or doesn't have the image resizing parameters added.

Looking in to the code base the StripDimensions method within the BinaryFileManager does the following

// TSI-417: unescape and only escape spaces path = WebUtility.UrlDecode(path); path = path.Replace(" ", "%20");

But this is only ran when there are not any dimensions. If there are dimensions the path is returned before this is ran.

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