obfuscatedgenerated / obfuscatedgenerated.github.io

https://ollieg.codes
MIT License
0 stars 0 forks source link

[🐛] - FS handling is unstable #4

Open obfuscatedgenerated opened 1 year ago

obfuscatedgenerated commented 1 year ago

Certain fs functions e.g. join, absolute, set_cwd have different reactions to certain paths, e.g. empty ones, with/without leading slash, with/without trailling slash etc. These issues have been patched but in a way that each function corrects each other. There is no enforced standard for paths, leading to the potential for undefined behaviour. We need to stabilise the fs by ensuring all functions return and handle paths the same way.

obfuscatedgenerated commented 1 year ago

We need to use indexedDB (or other) ASAP