modif comtabilite
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ function RequestSigner(request, credentials) {
|
||||
}
|
||||
|
||||
RequestSigner.prototype.matchHost = function(host) {
|
||||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com$/)
|
||||
var match = (host || '').match(/([^\.]+)\.(?:([^\.]*)\.)?amazonaws\.com(\.cn)?$/)
|
||||
var hostParts = (match || []).slice(1, 3)
|
||||
|
||||
// ES's hostParts are sometimes the other way round, if the value that is expected
|
||||
|
||||
Reference in New Issue
Block a user