qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

General question about parsing an rbd filename


From: Connor Kuehl
Subject: General question about parsing an rbd filename
Date: Thu, 1 Apr 2021 16:10:27 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

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 allow escaping only certain sequences.

Just curious.

Thanks,

Connor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]