Skip to content

[Apache config] Fix URLs containing whitespace when GitLab used together with Apache

Turns off NoEscape flag for both RewriteRule.

When whitespaces are present in the URL, such as when viewing files with whitespaces in its name, Apache passes the URL incorrectly to GitLab, resulting in a blank page.

This fix has been adapted from https://gitlab.com/gitlab-org/gitlab-ce/issues/3163. It has been tested on a server with Ubuntu 14.04.3, Apache 2.4.7 and GitLab 8.3.2.

Merge request reports