You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ju...@apache.org on 2010/02/05 12:00:38 UTC

svn commit: r906897 - /subversion/trunk/subversion/libsvn_ra_neon/props.c

Author: julianfoad
Date: Fri Feb  5 11:00:37 2010
New Revision: 906897

URL: http://svn.apache.org/viewvc?rev=906897&view=rev
Log:
Follow-up r901797: ensure the URLs in libsvn_ra_neon are always canonical.

* subversion/libsvn_ra_neon/props.c
  (end_element): Canonicalize the URL read from an "href" element in the
    other code path. (One code path was fixed in r901797.)

Patch by: Kannan R <kannanr{_AT_}collab.net>
Suggested by: julianfoad

Modified:
    subversion/trunk/subversion/libsvn_ra_neon/props.c

Modified: subversion/trunk/subversion/libsvn_ra_neon/props.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_neon/props.c?rev=906897&r1=906896&r2=906897&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_neon/props.c (original)
+++ subversion/trunk/subversion/libsvn_ra_neon/props.c Fri Feb  5 11:00:37 2010
@@ -425,7 +425,8 @@
 
       /* All other href's we'll treat as property values. */
       name = parent_defn->name;
-      value = svn_string_create(cdata, pc->pool);
+      value = svn_string_create(svn_uri_canonicalize(cdata, pc->pool),
+                                pc->pool);
       break;
 
     default: