[*] FS.cpp bugs regarding expanding "<char>/"
This commit is contained in:
parent
d37eaf6f30
commit
cfca09d0da
@ -29,7 +29,7 @@ namespace Aurora::IO::FS
|
||||
/**
|
||||
Resolve special character prefixes
|
||||
*/
|
||||
if ((path.size() > 2) && (requireMountExpand))
|
||||
if ((path.size() >= 2) && (requireMountExpand))
|
||||
{
|
||||
if (path[1] == kPathSplitter)
|
||||
{
|
||||
@ -189,9 +189,9 @@ namespace Aurora::IO::FS
|
||||
}
|
||||
|
||||
// plus this, i guess
|
||||
if (str.size() > 2)
|
||||
if (str.size() >= 2)
|
||||
{
|
||||
if (str[1] == kPathSplitter)
|
||||
if ((str[1] == '\\') || (str[1] == '/'))
|
||||
{
|
||||
auto c = str[0];
|
||||
if ((c == '.') || (c == '~') || (c == '!') || (c == '?' || (c == '^')))
|
||||
|
Loading…
Reference in New Issue
Block a user