Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets with leading underscore in file name not being indexed #2943

Closed
ademers opened this issue Jun 1, 2018 · 0 comments
Closed

Assets with leading underscore in file name not being indexed #2943

ademers opened this issue Jun 1, 2018 · 0 comments
Assignees

Comments

@ademers
Copy link
Contributor

ademers commented Jun 1, 2018

Description

Assets with a leading underscore in the file name (e.g. _photo-01.jpg) are not being indexed. They are also renamed when uploaded via the Control Panel. E.g.: _photo-01.jpg becomes photo-01.jpg.

Steps to reproduce

  1. Create an asset volume.
  2. Add assets with leading underscore in file name to this volume via file system or (S)FTP.
  3. Update volume asset index via CP.
  4. Attempt to view the assets in the CP via the Assets tab. They are not displayed.

Additional info

  • Craft version: Pro 3.0.9
  • PHP version: 7.0.29
  • Database driver & version: MySQL 5.5.5
  • Plugins & versions: https://cl.ly/2s1q08421q3w
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants