Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-483

PostBindingUtil - sendPost errantly appending new line character causing outputstream closed exception on Jetty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial Trivial
    • PLINK_2.6.0.CR5
    • PLINK_2.6.0.CR4
    • SAML
    • None

      https://github.com/picketlink/picketlink/blob/master/modules/federation/src/main/java/org/picketlink/identity/federation/web/util/PostBindingUtil.java#L145

      is setting the content length to the response body length but at

      https://github.com/picketlink/picketlink/blob/master/modules/federation/src/main/java/org/picketlink/identity/federation/web/util/PostBindingUtil.java#L147

      the println method is used to write the body causing an extra newline character to be written and causing an outputstream closed exception on Jetty.

              anil.saldhana Anil Saldanha (Inactive)
              aanderson1776 Aaron Anderson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: