You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Lübbe Onken <l....@rac.de> on 2004/08/24 09:37:57 UTC

Non Ascii chars in paths cause trouble

Hi Folks,

I think there still is a problem with non-ascii chars in pathnames. It 
can be reproduced with subversion 1.0.5 (r9954) and older versions. I 
don't think this is fixed in 1.0.6. I haven't tried with rc1.

Simply create a repository 'xxx' and load the attached dumpfile:
try to run a 'svn list http://localhost/svn/xxx/' on that repository

The result will always be:
svn: PROPFIND request failed on '/svn/xxx/!svn/bc/1'
svn: The PROPFIND request returned invalid XML in the response: XML 
parse error
at line 28: not well-formed (invalid token) (/svn/xxx/!svn/bc/1)

svn list http://localhost/svn/xxx/Men%fc/
fails as well. Without the "ü" in the dumpfile everything works fine.

It looks a bit like 
http://subversion.tigris.org/issues/show_bug.cgi?id=1971 to me.

Cheers
-Lübbe

---SNIP---
SVN-fs-dump-format-version: 2

UUID: d747779c-11e2-0310-96d6-d5145e9dfa82

Revision-number: 0
Prop-content-length: 56
Content-length: 56

K 8
svn:date
V 27
2004-08-20T08:23:17.516845Z
PROPS-END

Revision-number: 1
Prop-content-length: 120
Content-length: 120

K 7
svn:log
V 22
Projektarchiv angelegt
K 10
svn:author
V 3
svn
K 8
svn:date
V 27
2004-08-20T08:23:17.801807Z
PROPS-END

Node-path: Menü
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10

PROPS-END
---SNIP---


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Non Ascii chars in paths cause trouble

Posted by Tobias Ringström <to...@ringstrom.mine.nu>.
Lübbe Onken wrote:

> Hi Folks,
>
> I think there still is a problem with non-ascii chars in pathnames. It 
> can be reproduced with subversion 1.0.5 (r9954) and older versions. I 
> don't think this is fixed in 1.0.6. I haven't tried with rc1.
>
> Simply create a repository 'xxx' and load the attached dumpfile:
> try to run a 'svn list http://localhost/svn/xxx/' on that repository

Your email is in ISO-8859-1, and therefore also the Node-path in the 
dumpfile, which makes the dumpfile invalid because node names must be in 
UTF-8. Since you pasted the dumpfile instead of attaching it, it's 
possible that your email program recoded it. I made a quick test, and it 
fails in the way you reported if the dumpfile contains a non-UTF-8 node 
name, but it works fine if it's in UTF-8, so I think your dumpfile 
really was in ISO-8859-1, i.e. invalid.

How did you get such a dumpfile?

/Tobias


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org