[webkit-changes] [WebKit/WebKit] 2c42b4: Add quirk to allow downloads on apple.com subdomains

Alex Christensen noreply at github.com
Thu Oct 10 15:43:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2c42b42d082f817f5bd6a3778d42691fd97ef2e9
      https://github.com/WebKit/WebKit/commit/2c42b42d082f817f5bd6a3778d42691fd97ef2e9
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M Source/WebCore/loader/DocumentLoader.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Add quirk to allow downloads on apple.com subdomains
https://bugs.webkit.org/show_bug.cgi?id=281237
rdar://136805443

Reviewed by Chris Dumez.

As lamentable as it is, there is an internal apple.com subdomain that provides downloads
and has CSP that prevents downloads.  This worked until 283667 at main made our behavior more
correct.  The downloads do not work in Chrome or Firefox.  The website owner is working
to resolve the issue, but until it is resolved I have been tasked with making the downloads
continue to work in Safari even though the HTTP header clearly and explicitly prevents downloads.

* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::continueAfterContentPolicy):

Canonical link: https://commits.webkit.org/284999@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list