[Fix] Can't parse db name in .env file#3083
Conversation
Can't parse db name in .env file when trying to bypass the password. Below is the detailed issue link. sqlitebrowser#3081
|
So if my poor regular expression knowledge is good, it was only accepting a-z (both lower and uppercase), 0-9, period, dash and underscrore, and now you've added @. |
...and we haven't even broached unicode characters in filenames... |
|
can-of-worms.gif 😂 |
|
Yes, this Pull Request can't solve other special symbols. I think maybe something like below may solve all the special symbols (except '=') |
|
Merged. Thanks, @Sitlos. |
Custom format is not loading the fields and implementation is not justified as the .env format is basically a simplification of the IniFormat. Tested with: - Built for x86_64-little_endian-lp64, running on x86_64 - Qt Version 5.15.3 - SQLCipher Version 3.4.1 (based on SQLite 3.15.2). Tested no regression for #3083.
Custom format is not loading the fields and implementation is not justified as the .env format is basically a simplification of the IniFormat. Tested with: - Built for x86_64-little_endian-lp64, running on x86_64 - Qt Version 5.15.3 - SQLCipher Version 3.4.1 (based on SQLite 3.15.2). Tested no regression for #3083.
Custom format is not loading the fields and implementation is not justified as the .env format is basically a simplification of the IniFormat. Tested with: - Built for x86_64-little_endian-lp64, running on x86_64 - Qt Version 5.15.3 - SQLCipher Version 3.4.1 (based on SQLite 3.15.2). Tested no regression for #3083.
Can't parse db name in .env file when trying to bypass the password. Below is the detailed issue link.
#3081