Philip Martin <philip.mar...@wandisco.com> writes:

> Branko Čibej <br...@apache.org> writes:
>
>> On 30.01.2012 11:14, Philip Martin wrote:
>>>  - the backend FS layer allows any null terminated string as a property
>>>    name
>>>
>>>  - the frontend client layer restricts property names to a subset of
>>>    ASCII
>>
>> And the HTTP layer has its own implicit restrictions.
>
> The property name gets transferred as an XML name but it appears that
> the server does some escaping to allow non-XML-name characters.  If I
> use 'svnadmin load' to set a property with a name 'p<>p' then I can
> still checkout over http, the XML sent over the wire is:
>
> <S:set-prop name="p&lt;&gt;p">vvvv</S:set-prop>

That allows the client to receive the property from the server.  The
client doesn't allow me to manipulate the property and is not capable to
sending it back to the server.  If I use sqlite3 to effect a local
property change the client attempts to send the unescaped name to the
server:

<D:set><D:prop><C:p<>p >v2v2</C:p<>p></D:prop></D:set>

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com

Reply via email to