Faidon Liambotis has submitted this change and it was merged.

Change subject: swift: don't allow PUT for temp URLs
......................................................................


swift: don't allow PUT for temp URLs

Change-Id: Id5783851ac46e6a9f393da2187841750375e52a1
---
M templates/swift/proxy-server.conf.erb
1 file changed, 5 insertions(+), 1 deletion(-)

Approvals:
  Faidon Liambotis: Verified; Looks good to me, approved



diff --git a/templates/swift/proxy-server.conf.erb 
b/templates/swift/proxy-server.conf.erb
index 01ec1ab..e654c04 100644
--- a/templates/swift/proxy-server.conf.erb
+++ b/templates/swift/proxy-server.conf.erb
@@ -26,6 +26,11 @@
 account_autocreate = true
 <% end -%>
 
+[filter:tempurl]
+use = egg:swift#tempurl
+# default includes PUT
+methods = GET HEAD
+
 <% if @auth_backend == 'swauth' -%>
 [filter:swauth]
 use = egg:swauth#swauth
@@ -74,4 +79,3 @@
 
 
 paste.filter_factory = wmf.rewrite:filter_factory
-

-- 
To view, visit https://gerrit.wikimedia.org/r/106637
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id5783851ac46e6a9f393da2187841750375e52a1
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to