Skip to content

feat: avoid chdir inside RootDir if disk is not enabled

feistel requested to merge feistel/gitlab-pages:feat/only-chdir-if-disk into master

What does this MR do?

RootDir is only used by zip serving for AllowedPaths when handling the file protocol.

It is not used if disk is not enabled (type file and type zip using file:// returns ErrDiskDisabled).

TODO

Edited by Rémy Coutable

Merge request reports