subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r1443705 - /subversion/trunk/subversion/libsvn_ra_serf/commit.c
Date Thu, 07 Feb 2013 20:30:01 GMT
Author: cmpilato
Date: Thu Feb  7 20:30:01 2013
New Revision: 1443705

URL: http://svn.apache.org/r1443705
Log:
Followup to r1443578, hopefully fixing some segfaults triggered on
certain buildbots.

* subversion/libsvn_ra_serf/commit.c
  (checkout_node): Canonicalize the parsed Location header URI as a urlpath.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/commit.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/commit.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/commit.c?rev=1443705&r1=1443704&r2=1443705&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/commit.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/commit.c Thu Feb  7 20:30:01 2013
@@ -326,8 +326,8 @@ checkout_node(const char **working_url,
   if (status)
     return svn_error_create(SVN_ERR_RA_DAV_MALFORMED_DATA, NULL,
                             _("Error parsing Location header value"));
-        
-  *working_url = apr_pstrdup(result_pool, uri.path);
+
+  *working_url = svn_urlpath__canonicalize(uri.path, result_pool);
 
   return SVN_NO_ERROR;
 }



Mime
View raw message