mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
format
This commit is contained in:
parent
6ad068494f
commit
dcd2b0c318
@ -695,7 +695,7 @@ namespace crow
|
||||
else if ((c == '/') || (c == '\\'))
|
||||
{
|
||||
//TODO(EDev): uncomment below once #332 is merged
|
||||
if (/*CROW_UNLIKELY(*/i == 0/*)*/) //Prevent Unix Absolute Paths (Windows Absolute Paths are prevented with `(c == ':')`)
|
||||
if (/*CROW_UNLIKELY(*/ i == 0 /*)*/) //Prevent Unix Absolute Paths (Windows Absolute Paths are prevented with `(c == ':')`)
|
||||
{
|
||||
data[i] = replacement;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user