kopia lustrzana https://github.com/gaul/s3proxy
Force Jetty header cache to be case-sensitive, to avoid signature mismatch (e.g. upper case charset used in S3Proxy, but lowercase used in original signature calculation)
rodzic
027cd5fdd7
commit
5ff5896ac6
|
@ -92,6 +92,8 @@ public final class S3Proxy {
|
||||||
var httpConfiguration = new HttpConfiguration();
|
var httpConfiguration = new HttpConfiguration();
|
||||||
httpConfiguration.setHttpCompliance(HttpCompliance.LEGACY);
|
httpConfiguration.setHttpCompliance(HttpCompliance.LEGACY);
|
||||||
httpConfiguration.setUriCompliance(UriCompliance.LEGACY);
|
httpConfiguration.setUriCompliance(UriCompliance.LEGACY);
|
||||||
|
httpConfiguration.setHeaderCacheCaseSensitive(true);
|
||||||
|
|
||||||
var src = new SecureRequestCustomizer();
|
var src = new SecureRequestCustomizer();
|
||||||
src.setSniHostCheck(false);
|
src.setSniHostCheck(false);
|
||||||
httpConfiguration.addCustomizer(src);
|
httpConfiguration.addCustomizer(src);
|
||||||
|
|
Ładowanie…
Reference in New Issue