Skip to content

Conversation

@Ghabry
Copy link
Member

@Ghabry Ghabry commented Jul 31, 2025

  • Path is now case insensitive
  • Backslash is converted to /
  • Forgot "Make Canonical" which allowed writing outside of the game directory

Reported by @Mimigris. Thanks!


Another problem we noticed is that overwriting of arbitrary game files is possible. Though the only ultimate way to fix is in general relocating the save directory outside of the game directory. (which would be good style anyway).

- Path is now case insensitive
- Backslash is converted to /
- Added "Make Canonical" to prevent writing outside of the game directory

Traversal outside of the directory issues now a visible warning

Reported by Mimigris / Carbonara. Thanks!
@Ghabry Ghabry added this to the 0.8.2 milestone Jul 31, 2025
@Ghabry Ghabry requested a review from fdelapena December 14, 2025 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant