When we check the EC2 signature without the port part of the host value
received, we should properly split host:port. Keep in mind the splitting
should work for values like [fc00::]:123 too.
Change-Id: I1d90dfcea3568e2a9b22069daa428ea6a2a38bd6
Closes-Bug: #1988168
(cherry picked from commit 6c35b366e3c8c6d7f47471b93f5315582301c5ef)
Reviewed: https:/ /review. opendev. org/c/openstack /keystone/ +/856489 /opendev. org/openstack/ keystone/ commit/ d39790ac4e9dc25 af09cdddc6217e3 6bacbc2bb1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/yoga
commit d39790ac4e9dc25 af09cdddc6217e3 6bacbc2bb1
Author: Bence Romsics <email address hidden>
Date: Mon Aug 29 16:03:44 2022 +0200
Fix host:port handling
When we check the EC2 signature without the port part of the host value
received, we should properly split host:port. Keep in mind the splitting
should work for values like [fc00::]:123 too.
Change-Id: I1d90dfcea3568e 2a9b22069daa428 ea6a2a38bd6 7f47471b93f5315 582301c5ef)
Closes-Bug: #1988168
(cherry picked from commit 6c35b366e3c8c6d