Skip to content

Images with spaces return 404 #82

@ngibbonssdl

Description

@ngibbonssdl

Hi,

I've noticed in the latest 2.2.6 version that images with spaces return not found. The problem appears to be with the 702fb31e878e4ad6aa27d2e7feba1f86e476cb27 commit.

This commit means that the urlPath is now encoded before being supplied to the ApiClient, causing images paths like "/media/Loan%20protection%20-%20Desktop_tcm19-184437.png" to become "/media/Loan%2520protection%2520-%2520Desktop_tcm19-184437.png" - note the % is now encoded as %25.

This mean null is returned because the path in the database is "/media/Loan%20protection%20-%20Desktop_tcm19-184437.png".

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