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

Special char fix for dropped save files #611

Merged

Conversation

garrettjoecox
Copy link
Contributor

@garrettjoecox garrettjoecox commented May 30, 2024

The SanitizePath function is entirely unnecessary, and causes issues when it tries to "fix" things.

Test file and name to test with: save!@#$%^&*()_+-=[]\{}|;'"<>?,\\//.json.json

save.json

Verified as working on MacOS, Windows, and Linux

Build Artifacts

@garrettjoecox
Copy link
Contributor Author

Verified that this fixes the special character issue on windows as well.

@garrettjoecox
Copy link
Contributor Author

Verified by @xelivous on discord to be working on linux.

Will just yeet the function out completely and call it a day

@garrettjoecox garrettjoecox added bug Something isn't working and removed do not merge labels May 30, 2024
@garrettjoecox garrettjoecox changed the base branch from develop to develop-rika May 30, 2024 15:29
@garrettjoecox garrettjoecox added rika and removed bug Something isn't working labels May 30, 2024
@garrettjoecox garrettjoecox changed the title [WIP] Special char fix test Special char fix test May 30, 2024
@garrettjoecox garrettjoecox changed the title Special char fix test Special char fix for dropped save files May 30, 2024
@garrettjoecox garrettjoecox merged commit 74afca9 into HarbourMasters:develop-rika May 30, 2024
5 checks passed
@garrettjoecox garrettjoecox deleted the special-char-fix branch May 30, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants