Skip to content

fix(store.c): improve root path integrity check with range-based validation#311

Open
noctrex wants to merge 1 commit intoDeusData:mainfrom
noctrex:fix/store-path-check
Open

fix(store.c): improve root path integrity check with range-based validation#311
noctrex wants to merge 1 commit intoDeusData:mainfrom
noctrex:fix/store-path-check

Conversation

@noctrex
Copy link
Copy Markdown

@noctrex noctrex commented May 1, 2026

Replace the NOT IN list of individual characters with a range-based BETWEEN 'A' AND 'Z' check for validating project root paths.
The previous query only excluded letters A–H, leaving paths starting with I–Z silently invalid.
In Windows, all the alphabet can be used.
A Windows drive starting with letters I-Z breaks the saving of the database.

…dation

Replace the fragile NOT IN list of individual characters with a range-based BETWEEN 'A' AND 'Z' check for validating project root paths.
The previous query only excluded letters A–H, leaving paths starting with I–Z silently invalid.
In Windows, all the alphabet can be used.
A Windows drive starting with letters I-Z breaks the saving of the database.
@DeusData DeusData added bug Something isn't working stability/performance Server crashes, OOM, hangs, high CPU/memory labels May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working stability/performance Server crashes, OOM, hangs, high CPU/memory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants