[tor-bugs] #25635 [Applications/Tor Browser]: Firefox Mobile(and Orfox) allows the user to copy the url to another app

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 27 10:59:37 UTC 2018


#25635: Firefox Mobile(and Orfox) allows the user to copy the url to another app
---------------------------------------+--------------------------
 Reporter:  igt0                       |          Owner:  tbb-team
     Type:  defect                     |         Status:  new
 Priority:  Medium                     |      Milestone:
Component:  Applications/Tor Browser   |        Version:
 Severity:  Normal                     |     Resolution:
 Keywords:  tbb-torbutton, tbb-mobile  |  Actual Points:
Parent ID:                             |         Points:
 Reviewer:                             |        Sponsor:
---------------------------------------+--------------------------

Comment (by igt0):

 Indeed, it copies the url that has the text/html format, however it
 filters out the Mozilla URL Object(text/x-moz-url) that has more
 information about the site. At least it is what the log message says:

 {{{
 [03-27 10:55:30] Torbutton INFO: The DataTransfer is available
 [03-27 10:55:30] Torbutton INFO: Inspecting the data transfer: 0
 [03-27 10:55:30] Torbutton INFO: Type is: text/plain
 [03-27 10:55:30] Torbutton INFO: Type is: text/x-moz-url
 [03-27 10:55:30] Torbutton INFO: Removing text/x-moz-url
 }}}

 and the drag and drop filter code as well:

 {{{

         if (type == "text/x-moz-url" ||
             type == "text/x-moz-url-data" ||
             type == "text/uri-list" ||
             type == "application/x-moz-file-promise-url") {
           aDataTransfer.clearData(type);
           this.logger.log(3, "Removing " + type);
         }


 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25635#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list