Skip to content
Snippets Groups Projects

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

Merged username-removed-17194 requested to merge Zenti/gitlab-recipes:fix-whitespace-urls into master

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading