[Issue 526] Filelist update fails when there are special characetrs in the uri
Alexander Mueller <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.rapidsvn.issues |
|---|---|
| Message-ID | <[email protected]> |
http://rapidsvn.tigris.org/issues/show_bug.cgi?id=526
User xelarellum changed the following:
What |Old value |New value
================================================================================
Status|REOPENED |STARTED
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Tue Jun 23 09:08:03 -0700 2009 -------
Started working on this with revision 7965:
Changed the utility function "PathUtf8" to escape all URLs and remove the
automatic escape in the "svn::Path" constructor to solve the problem.
Also extended "Url::escape" to escape characters that are not automatically
escaped by "svn_path_uri_autoescape".
* src/svncpp/url.cpp
(findAndReplaced): added utility function
(Url::isValid): dont escape the url to check
(Url::escape): escape additional chars
* src/svncpp/path.cpp
(Path::init): dont escape the path in the constructor
* src/utils.cpp
(PathUtf8): escape urls
* src/folder_browser.cpp
(FolderBrowser::Data::Refresh): cache the info whether
we work with urls
------------------------------------------------------
http://rapidsvn.tigris.org/ds/viewMessage.do?dsForumId=670&dsMessageId=2364522
To unsubscribe from this discussion, e-mail: [[email protected]].