]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: make dns hostnames matching case insensitive
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 29 Jul 2019 12:37:40 +0000 (14:37 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 5 Sep 2019 08:13:14 +0000 (10:13 +0200)
commit4c5c8f018b0e956c62323df0fca11c2fbaf173bb
treea34ffd1191c6dddf2c3f87b86ab326955496beb2
parent692a678a00919bcce61c0ee46a3adbdeee8265e9
rgw: make dns hostnames matching case insensitive

Currently when parsing host in requests, we try to case match against supplied
hostnames set, which violates dns hostnames being case insensitive. Do a case
insensitive comparision instead

Fixes: http://tracker.ceph.com/issues/40995
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 9bc7d7bd0cf42663ebf1131d9cac6c96e6d9f141)
src/rgw/rgw_rest.cc