Review main Merged

71457[BUGFIX] Allow FilePathSanitizer to return absolute paths

Helmut Hummel CR +2 V +2 Normal +125 −31 updated 10/11/21, 14:51

Commit message

There are few cases where the resulting path from FilePathSanitizer
is needed and used as absolute path to a private file.

For these usages the file now is returned early.

Additionally the logic to make a relative path out of
an absolute path is now relaxed a bit, so that legacy
usages of this API won't fail any more.

An exception is still thrown, when a path from Composer
package is requested, that can not be resolved to a public path.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 6