Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-13319

Artifactory does not follow RFC-7233 specifications

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 4.13.1, 5.0.0
    • Fix Version/s: 5.5.2
    • Component/s: HttpRepo
    • Labels:
      None

      Description

      As seen here: https://tools.ietf.org/html/rfc7233

      RFC7233 states that the right boundary of a range request must be replaced if it is larger than the size of the resource. For example, if you run the following command:
      curl http://repo.jfrog.org/artifactory/codehaus-cache/org/jruby/jruby/1.6.7.2/jruby-1.6.7.2.jar -o jruby-1.6.7.2.jar -v --header "Range: bytes=10000000-11000000"

      You will receive an error.

      However, using a lower right boundary range results in a successful download:
      curl http://repo.jfrog.org/artifactory/codehaus-cache/org/jruby/jruby/1.6.7.2/jruby-1.6.7.2.jar -o jruby-1.6.7.2.jar -v --header "Range: bytes=10000-11000"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nadavy Nadav Yogev
                Reporter:
                omarf Omar Faiz (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: