Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-2178

PostalMethods not encoding special characters in XML

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 4.0.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Invoices delivered via PostalMethods may fail due to an error sending malformed XML.
      See http://www.blesta.com/forums/index.php?/topic/6364-bug-in-postalmethods-api-causing-a-400-bad-request/

      These 5 characters should be encoded when used as content (keys or values) in XML:

      • &
      • '
      • "
      • >
      • <

      See https://www.w3.org/TR/xml/#syntax

        Activity

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Sep/16