Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2028

Prepare test for error message length

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • 3.6.2.Final, 4.0.0.Beta6
    • None
    • None
    • None

      If the REST endpoint consumes POST requests with invalid data, check that response with error message is trimmed to reasonable size.

      Initial motivation for this was that when invalid data are very big and error messages are logged, server could be attacked by filling disk with logs.
      See https://issues.jboss.org/browse/JBEAP-6316.

      However, error messages are no longer printed to server.log - probably because of this: https://github.com/resteasy/Resteasy/pull/1485/files#diff-382f0c06d12f9f68e087b45142ad2564R17.

            tterem@redhat.com Tomas Terem (Inactive)
            tterem@redhat.com Tomas Terem (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: