Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5446

(7.0.z) RESTEASY-1439 - ETag not quoted in ResponseBuilder.tag(String tag)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.0.4.CR1, 7.0.4.GA
    • None
    • REST
    • None
    • EAP 7.0.4

      Response.status(412).entity(message).tag("123").build() should generate ETag: "123" but instead does not quote the tag ETag: 123.

      The JAX-RS spec says that the ETag should be quoted by the runtime. Jersey adheres to the spec here, RESTEasy doesn't.

      ResponseBuilder.tag(EntityTag tag) method works corrrectly but ResponseBuilder.tag(String tag) has this bug

            rhn-support-asoldano Alessio Soldano
            rhn-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified