Mobrovac has uploaded a new change for review.
https://gerrit.wikimedia.org/r/278740
Change subject: RESTBase: Update config to allow web requests
......................................................................
RESTBase: Update config to allow web requests
Change-Id: Ie436a18a8653a2ce3fd19f41b2ec9a0db8fce77b
---
M puppet/modules/restbase/templates/config.yaml.erb
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant
refs/changes/40/278740/1
diff --git a/puppet/modules/restbase/templates/config.yaml.erb
b/puppet/modules/restbase/templates/config.yaml.erb
index f38415a..d8228ec 100644
--- a/puppet/modules/restbase/templates/config.yaml.erb
+++ b/puppet/modules/restbase/templates/config.yaml.erb
@@ -44,6 +44,12 @@
spec:
title: "The RESTBase root"
# Some more general RESTBase info
+ x-sub-request-filters:
+ - type: default
+ name: http
+ options:
+ allow:
+ - pattern: /^https?:\/\//
paths:
/{domain:<%= @domain %>}: *default_project
--
To view, visit https://gerrit.wikimedia.org/r/278740
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie436a18a8653a2ce3fd19f41b2ec9a0db8fce77b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits