I don't see any valid reason for allowing leading and or trailing white spaces.
But if we do allow it, we need to think about introducing quotes as-well so parsers know where the start and end.
Backwards compatibility will break with quotes (in means of software failing to find the referenced file) but so does using leading/trailing white spaces.
Also when we declare leading and or trailing white spaces 'invalid' then we must also define exactly what 'white spaces' are.
But if we do allow it, we need to think about introducing quotes as-well so parsers know where the start and end.
Backwards compatibility will break with quotes (in means of software failing to find the referenced file) but so does using leading/trailing white spaces.
Also when we declare leading and or trailing white spaces 'invalid' then we must also define exactly what 'white spaces' are.