]> 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>
Wed, 28 Aug 2019 15:49:45 +0000 (17:49 +0200)
commitddf65d374c3cd8bf98e6fc5d950136de0d2aefc9
tree44fde9eab7db2950cef2642d571a470d915d3878
parent8024fa1c6b7a57dd9376199225c889fb0b6241dd
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