You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: follow symlinks when iterating entries directory
1. Add QDirIterator::FollowSymlinks flag to directory iterator in
Cli::content method
2. This enables proper resolution of desktop files from symlinked
entries/share directories
3. Previously, symlinks in the entries directory were not being
followed, causing desktop files pointed to by symbolic links to be
missed
4. Add two test cases to verify symlink resolution works correctly:
- contentResolvesDesktopFromSymlinkedEntriesShareDir: tests resolving
desktop from symlinked entries
- contentResolvesOverlayDesktopFromSymlinkedEntriesShareDir: tests
overlay desktop resolution with symlinks
Influence:
1. Test content command with applications that have symlinked entries/
share directories
2. Verify desktop file discovery works correctly when entries/share is a
symlink to files/share
3. Test both default directory fallback and overlay directory scenarios
with symlinked paths
4. Verify no regression in normal (non-symlinked) directory traversal
5. Test that symlinked directories pointing outside expected paths are
handled safely
0 commit comments