Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2689

ByteRange not comparing Weak ETags in If-Range Header

XMLWordPrintable

      According to the Rage-Request RFC - https://www.rfc-editor.org/rfc/rfc9110.html#section-13.1.1-2

      • An origin server MUST use the strong comparison function when comparing entity tags for If-Match

      But when returning the `RangeResponseResult` we skip checking for weak tags in the check `ifRange.charAt(0) == '"'` -

      A If-Range header can be something like - `W/"TAG"` which would skip the check `ifRange.charAt(0) == '"'` and mark it as a valid If-Range match.

              flaviarnn Flavia Rainone
              prafgup Praful Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: