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

Invalid property name detection locale issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 1.2.0
    • Component/s: libsvn_ra_neon
    • Labels:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: