Giuseppe Lavagetto has submitted this change and it was merged.
Change subject: Make upload.wikimedia.org set Timing-Allow-Origin
......................................................................
Make upload.wikimedia.org set Timing-Allow-Origin
Cross-domain security restrictions limit the timing the timing
data that is available for images and media files.
This patch makes upload.wikimedia.org serve Timing-Allow-Origin: *
for the frontend, allowing the full timing data to be accessed.
Bug: T76020
Change-Id: Iaf4fbeffb62033ef59cb8287c248c96255384688
---
M templates/varnish/upload-frontend.inc.vcl.erb
1 file changed, 1 insertion(+), 0 deletions(-)
Approvals:
Gilles: Looks good to me, but someone else must approve
Giuseppe Lavagetto: Looks good to me, approved
Gergő Tisza: Looks good to me, but someone else must approve
jenkins-bot: Verified
diff --git a/templates/varnish/upload-frontend.inc.vcl.erb
b/templates/varnish/upload-frontend.inc.vcl.erb
index c19cfc0..8cb1a95 100644
--- a/templates/varnish/upload-frontend.inc.vcl.erb
+++ b/templates/varnish/upload-frontend.inc.vcl.erb
@@ -118,4 +118,5 @@
set resp.http.Access-Control-Allow-Origin = "*";
set resp.http.Access-Control-Expose-Headers = "Age, Date,
Content-Length, Content-Range, X-Content-Duration, X-Cache, X-Varnish";
+ set resp.http.Timing-Allow-Origin = "*";
}
--
To view, visit https://gerrit.wikimedia.org/r/181405
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf4fbeffb62033ef59cb8287c248c96255384688
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Unicodesnowman <[email protected]>
Gerrit-Reviewer: Faidon Liambotis <[email protected]>
Gerrit-Reviewer: Gergő Tisza <[email protected]>
Gerrit-Reviewer: Gilles <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits