Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4106

serf checkout fails on XML escaped property names

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 1.8.0
    • Component/s: libsvn_ra_serf
    • Labels:
      None

      Description

      I can use a dump file to load a property with a name such as 'p<>p'.  I can
      checkout using ra_neon and the server sends:
      
      <S:set-prop name="p&lt;&gt;p">vvvv</S:set-prop>
      
      and the client converts that back to 'p<>p':
      
      $ svn pl
      Properties on '.':
        p<>p
      
      Attempting to checkout using ra_serf fails:
      
      ../src/subversion/svn/checkout-cmd.c:168: (apr_err=175009)
      ../src/subversion/libsvn_client/checkout.c:229: (apr_err=175009)
      ../src/subversion/libsvn_client/update.c:552: (apr_err=175009)
      ../src/subversion/libsvn_client/update.c:413: (apr_err=175009)
      ../src/subversion/libsvn_ra_serf/update.c:2396: (apr_err=175009)
      ../src/subversion/libsvn_ra_serf/update.c:2396: (apr_err=175009)
      ../src/subversion/libsvn_ra_serf/util.c:2123: (apr_err=175009)
      ../src/subversion/libsvn_ra_serf/util.c:2123: (apr_err=175009)
      ../src/subversion/libsvn_ra_serf/util.c:1855: (apr_err=175009)
      ../src/subversion/libsvn_ra_serf/util.c:1490: (apr_err=175009)
      svn: E175009: XML parsing failed: (207 Multi-Status)
      
      The last entry in the apache log is a PROPFIND for the directory on which the
      property is set.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              philipm Philip Martin

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment