edwardspec / mediawiki-aws-s3

Extension:AWS allows MediaWiki to use Amazon S3 (instead of the local directory) to store images.
https://www.mediawiki.org/wiki/Extension:AWS
GNU General Public License v2.0
42 stars 32 forks source link

fix: Always return false for B2 isSecure #65

Closed octfx closed 1 year ago

octfx commented 1 year ago

In reference to #64

edwardspec commented 1 year ago

You can use $wgFileBackends['s3']['privateWiki'] = true; in your LocalSettings.php to achieve the same behavior. This will not be merged.

octfx commented 1 year ago

Wouldn't setting $wgFileBackends['s3']['privateWiki'] = true; result in always returning true for isSecure()?

edwardspec commented 1 year ago

It would. Did you want to make deleted images public? This will not be merged either.