You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/11/07 12:31:51 UTC
svn commit: r1032259 -
/subversion/branches/1.6.x-issue3745/subversion/svn/export-cmd.c
Author: stsp
Date: Sun Nov 7 11:31:51 2010
New Revision: 1032259
URL: http://svn.apache.org/viewvc?rev=1032259&view=rev
Log:
On the 1.6.x-issue3745 branch:
* subversion/svn/export-cmd.c
(svn_cl__export): Only URI-encode the export source argument if it is a URL.
Modified:
subversion/branches/1.6.x-issue3745/subversion/svn/export-cmd.c
Modified: subversion/branches/1.6.x-issue3745/subversion/svn/export-cmd.c
URL: http://svn.apache.org/viewvc/subversion/branches/1.6.x-issue3745/subversion/svn/export-cmd.c?rev=1032259&r1=1032258&r2=1032259&view=diff
==============================================================================
--- subversion/branches/1.6.x-issue3745/subversion/svn/export-cmd.c (original)
+++ subversion/branches/1.6.x-issue3745/subversion/svn/export-cmd.c Sun Nov 7 11:31:51 2010
@@ -87,7 +87,8 @@ svn_cl__export(apr_getopt_t *os,
opt_state->depth = svn_depth_infinity;
/* Decode the partially encoded URL and escape all URL unsafe characters. */
- truefrom = svn_path_uri_encode(svn_path_uri_decode(truefrom, pool), pool);
+ if (svn_path_is_url(truefrom))
+ truefrom = svn_path_uri_encode(svn_path_uri_decode(truefrom, pool), pool);
/* Do the export. */
err = svn_client_export4(NULL, truefrom, to, &peg_revision,