Re: General question about parsing an rbd filename

2021-04-09 Thread Connor Kuehl
On 4/9/21 9:27 AM, Markus Armbruster wrote: Connor Kuehl writes: block/rbd.c hints that: * Configuration values containing :, @, or = can be escaped with a * leading "\". Right now, much of the parsing code will allow anyone to escape _anything_ so long as it's preceded by '\'. Is this

Re: General question about parsing an rbd filename

2021-04-09 Thread Markus Armbruster
Connor Kuehl writes: > Hi, > > block/rbd.c hints that: > >> * Configuration values containing :, @, or = can be escaped with a >> * leading "\". > > Right now, much of the parsing code will allow anyone to escape > _anything_ so long as it's preceded by '\'. > > Is this the intended behavior? O

General question about parsing an rbd filename

2021-04-01 Thread Connor Kuehl
Hi, block/rbd.c hints that: * Configuration values containing :, @, or = can be escaped with a * leading "\". Right now, much of the parsing code will allow anyone to escape _anything_ so long as it's preceded by '\'. Is this the intended behavior? Or should the parser be updated to allo