Uploaded image for project: 'DMC - Development'
  1. DMC - Development
  2. DMC-1063

Incorrect handling of "Digest" header in response

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Davix 0.6.8
    • Fix Version/s: davix 0.6.9
    • Component/s: Davix
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      it appears that the Digest handler is handled incorrectly, at least if I'm reading https://tools.ietf.org/html/rfc3230#section-4.2 correctly.

      The three things I noted are:

      • MD5 and SHA digests should be base64-encoded. We may want to look at the official registry (https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml#http-dig-alg-1) and make sure we convert this correctly from the ones used by common SEs.
      • We probably need to translate cksum -> UNIXcksum and SHA1 -> SHA.
      • The response may contain multiple Digest, even those the client did not ask for. DAVIX client code appears to assume there is only one?

        Attachments

          Activity

            People

            • Assignee:
              gbitzes Georgios Bitzes
              Reporter:
              bbockelm Brian Paul Bockelman
              Component Watchers:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: