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

ra_dav doesn't permit properties to have colons in their names.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.1.0
    • Component/s: libsvn_ra_neon
    • Labels:
      None

      Description

      With the exception of internal properties ra_dav will fail when dealing with a
      property name with a colon in it:
      
      $ svn pg --revprop -r 1663 svk:signature http://svn.collab.net/repos/svn/
      subversion/libsvn_ra_dav/util.c:661: (apr_err=175002)
      svn: PROPFIND request failed on '/repos/svn/!svn/vcc/default'
      subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
      svn: PROPFIND of '/repos/svn/!svn/vcc/default': 400 Bad Request
      (http://svn.collab.net
      
      Testing with a repo using ra_local will not reproduce the same issue:
      $ svnadmin create repo
      $ echo -e '#!/bin/sh\nexit 0' > repo/hooks/pre-revprop-change
      $ chmod 755 repo/hooks/pre-revprop-change
      $ svn co file://`pwd`/repo wc
      $ touch foo
      $ cd wc
      $ svn add foo           
      A         foo
      $ svn commit -m 'add foo'
      Adding         foo
      Transmitting file data .
      Committed revision 1.
      $ svn ps --revprop -r1 moo:cow 'is cool' 
      property 'moo:cow' set on repository revision '1'
      $ svn pg --revprop -r1 moo:cow
      is cool
      
      Looks like an escaping issue.
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              breser Ben Reser
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: