decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.78k stars 3.03k forks source link

Ignore dotfiles in media view #2370

Open manuelmeurer opened 5 years ago

manuelmeurer commented 5 years ago

Describe the bug The media view shouldn't display dotfiles.

To Reproduce

  1. Add a dotfile to the configured media_folder
  2. The dotfile shows up in the media view.

Expected behavior Dotfiles should be ignored.

Screenshots https://take.ms/28TGh

Applicable Versions:

CMS configuration https://github.com/uplinkhq/website/blob/master/source/admin/config.yml

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.