mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
Crashes when interacting with file that has "["s or "]"s in the name #1015
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @smiRaphi on GitHub (Aug 9, 2025).
Originally assigned to: @claunia on GitHub.
Version
6.0.0-alpha6
Commit hash
89ae5e8Tested debug version?
Which operating systems have you used?
What is the architectural bit size you're using?
What processor are you using?
Description
Crashes when a filename including square parentheses gets used.
Exact command line used
aaru filesystem list "test [a].do" -dExpected behavior
Works with these file names.
Actual behavior
Crashes
Output of command execution with debug output enabled
@smiRaphi commented on GitHub (Aug 9, 2025):
Nvm, seems to have something to do with a filename in the filesystem of the image maybe? here's the image:
869.zip
@claunia commented on GitHub (Aug 9, 2025):
If the filename has a bracket right now we're not catching up them, and Spectre.Console it's thinking we're trying to use markup and going crazy.
It's a known issue we just have to go through all the application and trap up console output. PRs should however be easy to do (just "Markup.Escape" console output) and are welcome) and pretty welcome.
@claunia commented on GitHub (Aug 11, 2025):
FIU: https://openproject.claunia.com/projects/aaru/work_packages/540/activity