diff --git a/kong-aws-request-signing-1.0.3-3.rockspec b/kong-aws-request-signing-1.0.4-3.rockspec similarity index 97% rename from kong-aws-request-signing-1.0.3-3.rockspec rename to kong-aws-request-signing-1.0.4-3.rockspec index f6ef7dd..82db4c2 100644 --- a/kong-aws-request-signing-1.0.3-3.rockspec +++ b/kong-aws-request-signing-1.0.4-3.rockspec @@ -1,6 +1,6 @@ local plugin_name = "aws-request-signing" local package_name = "kong-" .. plugin_name -local package_version = "1.0.3" +local package_version = "1.0.4" local rockspec_revision = "3" local github_account_name = "LEGO" diff --git a/kong/plugins/aws-request-signing/handler.lua b/kong/plugins/aws-request-signing/handler.lua index 5f77ed1..f708dd0 100644 --- a/kong/plugins/aws-request-signing/handler.lua +++ b/kong/plugins/aws-request-signing/handler.lua @@ -175,6 +175,6 @@ function AWSLambdaSTS:access(conf) end AWSLambdaSTS.PRIORITY = 110 -AWSLambdaSTS.VERSION = "1.0.3" +AWSLambdaSTS.VERSION = "1.0.4" return AWSLambdaSTS diff --git a/kong/plugins/aws-request-signing/schema.lua b/kong/plugins/aws-request-signing/schema.lua index e081b82..4e3426a 100644 --- a/kong/plugins/aws-request-signing/schema.lua +++ b/kong/plugins/aws-request-signing/schema.lua @@ -33,7 +33,8 @@ return { required = true, } }, { override_target_host = { - type = "string" + type = "string", + not_match = "^https?://" } }, { override_target_port = { type = "number"