Skip to content

Commit

Permalink
Added simple check, not starting with http:// or https://
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRailean committed Oct 20, 2023
1 parent db757b7 commit df3684e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion kong/plugins/aws-request-signing/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ function AWSLambdaSTS:access(conf)
end

AWSLambdaSTS.PRIORITY = 110
AWSLambdaSTS.VERSION = "1.0.3"
AWSLambdaSTS.VERSION = "1.0.4"

return AWSLambdaSTS
3 changes: 2 additions & 1 deletion kong/plugins/aws-request-signing/schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ return {
required = true,
} },
{ override_target_host = {
type = "string"
type = "string",
not_match = "^https?://"
} },
{ override_target_port = {
type = "number"
Expand Down

0 comments on commit df3684e

Please sign in to comment.