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

config: only use files from commands & translations #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FynnZW
Copy link

@FynnZW FynnZW commented Sep 9, 2024

I just had a case where an FTP program added synchronization metadata in a folder in all directories. This crashed the site, because the plugin tried to read that directory as a file.

Changing ::read to ::files seems to solve this, because it only accepts files. (https://github.com/getkirby/kirby/blob/4.3.1/src/Filesystem/Dir.php#L131)

I just had a case where an FTP-Program added directory metadata in a directory. This crashed the site, because the plugin tried to read that directory.

Changing ::read to ::files solves this, because it only accepts files.
(https://github.com/getkirby/kirby/blob/4.3.1/src/Filesystem/Dir.php#L131)

Signed-off-by: Fynn <[email protected]>
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

Successfully merging this pull request may close these issues.

1 participant