Gerrit-2.8: Allow encoded path separators in URLs
Partial-Bug: #1082781 Change-Id: Ib446a3332a3ff289cd9f6464009ce5f7416309eb
This commit is contained in:
parent
d88a34a7dc
commit
25546d376e
@ -15,6 +15,7 @@
|
||||
<VirtualHost <%= scope.lookupvar("gerrit::vhost_name") %>:443>
|
||||
ServerName <%= scope.lookupvar("gerrit::vhost_name") %>
|
||||
ServerAdmin <%= scope.lookupvar("gerrit::serveradmin") %>
|
||||
AllowEncodedSlashes NoDecode
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/gerrit-ssl-error.log
|
||||
|
||||
@ -55,7 +56,7 @@
|
||||
<% if scope.lookupvar("gerrit::robots_txt_source") != "" -%>
|
||||
RewriteCond %{REQUEST_URI} !^/robots.txt$
|
||||
<% end -%>
|
||||
RewriteRule ^/(.*)$ http://localhost:8081/$1 [P]
|
||||
RewriteRule ^/(.*)$ http://localhost:8081/$1 [NE,P]
|
||||
|
||||
ProxyPassReverse / http://localhost:8081/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user