Bug 324158

Summary: KdeSVN crash when a directory name contains the at (@) symbol
Product: [Applications] kdesvn Reporter: Jose <jose.velez>
Component: GeneralAssignee: Rajko Albrecht <ral>
Status: RESOLVED FIXED    
Severity: crash CC: ral
Priority: NOR    
Version: 1.6.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jose 2013-08-28 11:35:03 UTC
KDESvn browser crash (or works incorrectly in other distributions) when directory names have the at (@) character. 

Reproducible: Always

Steps to Reproduce:
cd some_path
mkdir repo
svnadmin create repo
mkdir repoTest
svn checkout file:///some_path/repo repoTest
cd repoTest
mkdir A@
svn add A@@
svn commit -m "First commit"

Now, if get a crash when you use svn to view the repo located in file://some_path/repo
Actual Results:  
KDESVN crash

Expected Results:  
No crash.

Centos 6.2 / Fedora 19 - Crash
Ubuntu 13.04 - Doesn't show the content of the directory.
Comment 1 Rajko Albrecht 2013-09-02 18:53:36 UTC
Some searches again:

[ral@bigdaddy test1]$ LANG=C svn ls file://`pwd`/bla@bla
svn: E205000: Try 'svn help' for more info
svn: E205000: Syntax error parsing peg revision 'bla'
[ral@bigdaddy test1]$ LANG=C svn ls file://`pwd`/bla\@bla
svn: E205000: Try 'svn help' for more info                                                                                                                                                                             
svn: E205000: Syntax error parsing peg revision 'bla'     

Means: Using the @ inside subversion for folder pathes is some kind of forbidden. Looks that some maintainer removed the block where kdesvn converted the @ to a html entity which now results in a crash from within svn library itself. Removing this code means, kdesvn don't crash. But subversion will NEVER, and that means NEVER, display content of such files or folders.

@ is simply used for the revision parameter so don't use it for entries.