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)
(cherry picked from commit d39790ac4e9dc25af09cdddc6217e36bacbc2bb1)
(cherry picked from commit 0bb9cdee71805af1a7cb0a7db110b336eae5da1e)
(cherry picked from commit aa50b963cce20a76db0c4834b3716d3658c784af)
(cherry picked from commit fe837d87c949f6a2347cf79d81b66214f0a449b3)
(cherry picked from commit 1ab860a08e527ca9e0c82a49fbf004d415fec991)
Reviewed: https:/ /review. opendev. org/c/openstack /keystone/ +/856514 /opendev. org/openstack/ keystone/ commit/ 8d883f011c586f0 e79c56f0f70f945 5997d70012
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 8d883f011c586f0 e79c56f0f70f945 5997d70012
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) af09cdddc6217e3 6bacbc2bb1) 1a7cb0a7db110b3 36eae5da1e) 6db0c4834b3716d 3658c784af) 2347cf79d81b662 14f0a449b3) 9e0c82a49fbf004 d415fec991)
Closes-Bug: #1988168
(cherry picked from commit 6c35b366e3c8c6d
(cherry picked from commit d39790ac4e9dc25
(cherry picked from commit 0bb9cdee71805af
(cherry picked from commit aa50b963cce20a7
(cherry picked from commit fe837d87c949f6a
(cherry picked from commit 1ab860a08e527ca