Review main Abandoned

52703[CLEANUP] Move cObj::clean_directory into PathUtility

Elmar Hinz CR 0 V 0 Hard +257 −53 updated 12/08/17, 07:18

Commit message

Move the method ContentObjectRenderer::clean_directory into PathUtility.

The method is of mixed nature. The sanitization part is moved into
PathUtility::sanitizeRelativeUrl(). The checks are directly implemented
into the method ContentObjectRenderer::filelist().

A unit test for PathUtility::sanitizeRelativeUrl() is provided.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 3