[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.12.0esr-12.5-1] fixup! Bug 8324: Prevent DNS proxy bypasses caused by Drag&Drop

ma1 (@ma1) git at gitlab.torproject.org
Mon Jun 5 19:28:30 UTC 2023



ma1 pushed to branch tor-browser-102.12.0esr-12.5-1 at The Tor Project / Applications / Tor Browser


Commits:
423f239c by cypherpunks1 at 2023-06-05T11:07:29-08:00
fixup! Bug 8324: Prevent DNS proxy bypasses caused by Drag&Drop

Bug 41792: Allow dragging downloads from about:downloads and the download panel

- - - - -


1 changed file:

- toolkit/torbutton/components/dragDropFilter.js


Changes:

=====================================
toolkit/torbutton/components/dragDropFilter.js
=====================================
@@ -142,7 +142,8 @@ DragDropFilter.prototype = {
           for (const type of types) {
             if (
               type !== INTERNAL_FALLBACK &&
-              type !== "text/x-moz-place" // don't touch bookmarks
+              type !== "text/x-moz-place" &&    // don't touch bookmarks
+              type !== "application/x-moz-file" // don't touch downloads
             ) {
               aDataTransfer.mozClearDataAt(type, i);
             }



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/423f239c5675d2522093c991831032ea565de55c

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/423f239c5675d2522093c991831032ea565de55c
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230605/8b1813e6/attachment.htm>


More information about the tbb-commits mailing list