Merge branch 'stable-2.6'

* stable-2.6:
  Document Apache needs AllowEncodedSlashes NoDecode
This commit is contained in:
Shawn Pearce
2013-04-16 19:50:34 -07:00
2 changed files with 9 additions and 0 deletions

View File

@@ -54,6 +54,9 @@ or links will redirect to incorrect locations.
Allow from all
</Proxy>
<Location /r/>
AllowEncodedSlashes NoDecode
</Location>
ProxyPass /r/ http://127.0.0.1:8081/r/
</VirtualHost>
----

View File

@@ -430,6 +430,12 @@ responses are protected from accidential sniffing and treatment as
HTML thanks to Gson encoding HTML control characters using Unicode
character escapes within JSON strings.
* Apache reverse proxies need `AllowEncodedSlashes NoDecode`
+
When Apache is used as a reverse proxy the NoDecode option
must be set for AllowEncodedSlashes to prevent Apache from
mangling Gerrit REST API URLs.
Project Dashboards
~~~~~~~~~~~~~~~~~~
* link:http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/user-dashboards.html#project-dashboards[