Skip to content

Commit

Permalink
Allow upper case letters in URL protocol scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
bczoma committed Mar 7, 2024
1 parent b146bef commit c532c52
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0-rc.3
0.1.0-rc.4
2 changes: 1 addition & 1 deletion ci/template-test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module "testrdp2" {

msg_vpn_name = "default"
queue_name = solacebroker_msg_vpn_queue.myqueue.queue_name
url = "http://[2001:db8:3333:4444:5555:6666:7777:8888]:12345/$${msgId()}"
url = "HTTP://[2001:db8:3333:4444:5555:6666:7777:8888]:12345/$${msgId()}"
rest_delivery_point_name = "my_rdp2"
request_headers = module.testrdp.request_headers
protected_request_headers = module.testrdp.protected_request_headers
Expand Down
2 changes: 1 addition & 1 deletion internal/gen-template/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ variable "url" {
description = "The URL that the messages should be delivered to. The path portion of the URL may contain substitution expressions"
type = string
validation {
condition = can(regex("https?://.*", var.url))
condition = can(regex("https?://.*", lower(var.url)))
error_message = "The URL must be a valid URL"
}
}
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ variable "url" {
description = "The URL that the messages should be delivered to. The path portion of the URL may contain substitution expressions"
type = string
validation {
condition = can(regex("https?://.*", var.url))
condition = can(regex("https?://.*", lower(var.url)))
error_message = "The URL must be a valid URL"
}
}
Expand Down

0 comments on commit c532c52

Please sign in to comment.