Handle proxy-based TLS when placed in front of Swift
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 29 Mar 2017 20:10:17 +0000 (13:10 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 10 May 2017 17:01:13 +0000 (17:01 +0000)
commit8eb82c0f6438ca55a0a47ca00b14f820f90fade2
tree91f095e97b868a54e7208b0d23b55900eaee99a3
parent6eeefad9a3edeffa28577dfa3bb588f17ef50a5b
Handle proxy-based TLS when placed in front of Swift

Force the URL for storage operations to use https if the authentication
URL is already forced to use https. This avoids following an http URL
based on the response of a Swift proxy unaware that a terminator placed
in front of it was used for the authentication.

Bug: T160616
Change-Id: Ia6c8c99ebb38d5828773b2f7aa8cf14ced6bdfde
includes/libs/filebackend/SwiftFileBackend.php