]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Merge pull request #57901 from adamemerson/wip-62292-reef
authorShilpa Jagannath <smanjara@users.noreply.github.com>
Fri, 9 Aug 2024 17:14:52 +0000 (10:14 -0700)
committerGitHub <noreply@github.com>
Fri, 9 Aug 2024 17:14:52 +0000 (10:14 -0700)
reef: rgw: modify string match_wildcards with fnmatch

1  2 
src/rgw/rgw_common.cc
src/rgw/rgw_common.h

Simple merge
index 582f9c5221968124c35239d76761cc1be82274b5,35cd53f598d8a5f76d1f12d059c5e2c9e575990f..f9dc3951533ecc8269340eeaa7521db697ccc658
@@@ -1755,11 -1753,11 +1755,11 @@@ static constexpr uint32_t MATCH_POLICY_
  static constexpr uint32_t MATCH_POLICY_ARN = 0x04;
  static constexpr uint32_t MATCH_POLICY_STRING = 0x08;
  
- extern bool match_policy(std::string_view pattern, std::string_view input,
+ extern bool match_policy(const std::string& pattern, const std::string& input,
                           uint32_t flag);
  
 -extern std::string camelcase_dash_http_attr(const std::string& orig);
 -extern std::string lowercase_dash_http_attr(const std::string& orig);
 +extern std::string camelcase_dash_http_attr(const std::string& orig, bool convert2dash = true);
 +extern std::string lowercase_dash_http_attr(const std::string& orig, bool bidirection = false);
  
  void rgw_setup_saved_curl_handles();
  void rgw_release_all_curl_handles();