Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-15

In a DSML Response, the DSML writer should encode values in Base64 when needed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • studio-dsml-parser
    • None

    Description

      In a DSML Response, the DSML writer should encode values in Base64 when needed.

      For example, this generated DSML is wrong, since it contains "é". The whole value of the attribute should have been encoded as Base64.
      <?xml version="1.0" encoding="UTF-8"?>
      <batchResponse>
      <searchResponse>
      <searchResultEntry dn="cn=elecharny,dc=example,dc=com">
      <attr name="objectclass">
      <value>person</value>
      <value>organizationalPerson</value>
      <value>top</value>
      </attr>
      <attr name="sn">
      <value>Lécharny</value>
      </attr>
      <attr name="cn">
      <value>elecharny</value>
      </attr>
      </searchResultEntry>
      <searchResultDone>
      <resultCode code="0" descr="success"/>
      </searchResultDone>
      </searchResponse>
      </batchResponse>

      Attachments

        Activity

          People

            pamarcelot Pierre-Arnaud Marcelot
            pamarcelot Pierre-Arnaud Marcelot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: