Skip to content

[5.x]: Error on the edit page for created assets by asset index utility from files with spaces in filename #15236

@vnali

Description

@vnali

What happened?

Description

  • If a file has spaces in filename, the asset created from the file by Asset Indexes utility can not be edited on full edit page and there is an error shown to the user: Forbidden, You don't have permission to access this resource..

Steps to reproduce

  1. Upload a file which has spaces in the filename.
  2. Use Asset index utility to index the file.
  3. Go to the edit page and click on the title of file.
  4. There is an error: You don't have permission to access this resource.

Craft CMS version

5.2.0

PHP version

8.2

Operating system and version

Ubuntu 20

Database type and version

MariaDB 10.6.7

Image driver and version

No response

Installed plugins and versions

  • commerce
  • digital product

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions