Page MenuHomePhabricator

Apache conf needs AllowEncodedSlashes NoDecode for VisualEditor
Closed, ResolvedPublic

Description

When using VisualEditor (included with MediaWiki 1.35), I ran into this issue: https://www.mediawiki.org/wiki/Topic:Vevdw6kw6itlr0x7 (Pages with slashes (/) in title result in 404 error)

I managed to fix this by going into the Docker container and adding the following line to the VirtualHost block in /etc/apache2/sites-enabled/000-default.conf (as suggested in the topic):

AllowEncodedSlashes NoDecode

Event Timeline

Change 626143 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[releng/dev-images@master] Default to /var/www/html/w MediaWiki install and /wiki style URLs

https://gerrit.wikimedia.org/r/626143

Change 626143 merged by Jeena Huneidi:
[releng/dev-images@master] Default to /var/www/html/w MediaWiki install and /wiki style URLs

https://gerrit.wikimedia.org/r/626143

Change 626144 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/core@master] [docker] Update working directory to /var/www/html/w

https://gerrit.wikimedia.org/r/626144

Change 626144 merged by jenkins-bot:
[mediawiki/core@master] [docker] Update working directory to /var/www/html/w

https://gerrit.wikimedia.org/r/626144