Skip to content

Conversation

@BerranRemzi
Copy link

@BerranRemzi BerranRemzi commented Jan 13, 2026

This pull request fixes a bug in the handleSDFileList method in handle-SD-files.cpp by correcting the conditional check for a trailing slash in the path variable. The change replaces an assignment operator (=) with the correct equality operator (==), ensuring proper path handling. Without this fix, subfolders cannot be opened, and only the top-level directory of the SD card is visible.

@luc-github
Copy link
Owner

luc-github commented Jan 14, 2026

Thank you, indeed and looks like there is same issue with local FS handler orz....
image

do you mind to update your PR fixing it ?

@BerranRemzi
Copy link
Author

Please hold this PR for now. I will also include an update to 'esp3d/src/modules/http/handlers/handle-files.cpp'

@BerranRemzi
Copy link
Author

@luc-github, the PR has been updated and is ready for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants