Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: df7d7806ba4886c1e40f251f4566661d87165593
https://github.com/WebKit/WebKit/commit/df7d7806ba4886c1e40f251f4566661d87165593
Author: Alex Christensen <[email protected]>
Date: 2025-07-31 (Thu, 31 Jul 2025)
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 dropbox.com
https://bugs.webkit.org/show_bug.cgi?id=296749
rdar://155649992
Reviewed by Brent Fulgham.
https://www.dropbox.com/download?os=mac has a content-security-policy sandbox
that does not
allow downloads, but only if requested with a Safari user-agent. This was not
an issue until
we increased our standards compliance and interoperability and security in
283667@main by
honoring content-security-policy sandboxes with regards to downloads initiated
by the main frame.
Unfortunately, this broke the ability to download the dropbox installer, which
dropbox.com is
saying should not be allowed on its website. Add a quirk to get the old
behavior until they fix it.
* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::continueAfterContentPolicy):
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldAllowDownloadsInSpiteOfCSP const):
* Source/WebCore/page/Quirks.h:
Canonical link: https://commits.webkit.org/298093@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes