• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • None
    • 0.4.4
    • None
    • None
    • O/S: Windows XP SP2
      Client: Microsoft .NET 2.0 (C#), communicating via SOAP API
      Using standalone installation.

      I am using the SOAP API with .NET and am calling the method "findPrincipalByToken".

      This works successfully when I have set up Crowd to connect to an internal Crowd Directory. However when linking to our corporate Active Directory, this call throws the following error:

      {"'', hexadecimal value 0x02, is an invalid character. Line 1, position 2918."}

      This is a serialization error due to the fact that unsupported unicode characters (according to the XML/SOAP specifications) are being sent via the API. This is probably due to the fact that user attributes in our Active Directory include encrypted values, such as security descriptors and signatures (i.e for MS Exchange) which we cannot modify.

      It is possible for certain clients to change the default serialization behaviour (i.e to normalize these characters), however any invalid and unsupported characters should be filtered out BEFORE being transmitted via SOAP. Is this possible?

      Only the following characters should be premitted (see http://www.w3.org/TR/REC-xml/)

      Char ::= #x9 | #xA | #xD | x20-#xD7FF | xE000-#xFFFD | x10000-#x10FFFF

            [CWD-160] Unsupported unicode characters sent via SOAP API

            Fixed with CWD-167.

            Justen Stepka [Atlassian] added a comment - Fixed with CWD-167 .

              justen.stepka@atlassian.com Justen Stepka [Atlassian]
              2f0e2ffe247b Matthew Slater
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: