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

Invalid property name detection locale issue

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.2.0
    • libsvn_ra_neon
    • None

    Description

      Somewhat related to bug 1807:
      
      libsvn_client/prop_commands.c:is_valid_prop_name() tries to detect non-ASCII
      names by using isalpha() on a UTF-8 string, but isalpha() is locale-specific.
      
      This allows another way to create properties which mod_dav_svn will reject as
      the PROPPATCH request includes invalid XML element names:
      
      e.g.
      
      $ LC_CTYPE=en_US svn propset foo`/bin/echo -e '\265'`bar fish somefile
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jorton Joe Orton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment