]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix auth caps with hyphen in path
authorJohn Spray <john.spray@redhat.com>
Tue, 12 Apr 2016 01:49:32 +0000 (02:49 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 12 Apr 2016 01:52:39 +0000 (02:52 +0100)
commitf82fa5f59a80851581573553be07e8f1620ee346
tree70dd630327c9ecb6aab275fc00c07cfcb760d877
parent45219e0e2a713239bee7d28b5da6b0e3f527927b
mds: fix auth caps with hyphen in path

Quirk of the boost spirit char() fn, hyphens
are treated as range delimiters unless they're
the last character in the set.

Fixes: #15465
Signed-off-by: John Spray <john.spray@redhat.com>
src/mds/MDSAuthCaps.cc
src/test/mds/TestMDSAuthCaps.cc