Bug 324158 - KdeSVN crash when a directory name contains the at (@) symbol
Summary: KdeSVN crash when a directory name contains the at (@) symbol
Status: RESOLVED FIXED
Alias: None
Product: kdesvn
Classification: Unclassified
Component: General (show other bugs)
Version: 1.6.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Rajko Albrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-28 11:35 UTC by Jose
Modified: 2013-09-02 20:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.