[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-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



Title: GitLab

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:

Changes:

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

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits