[tor-bugs] #31764 [Applications/Tor Browser]: Copying a link and using "Paste & Go" results in error

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 22 00:30:49 UTC 2019


#31764: Copying a link and using "Paste & Go" results in error
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:
                                                 |  pospeselr
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  ff68-esr, tbb-9.0-issues, tbb-       |  Actual Points:
  regression, tbb-9.0.1-can,                     |
  TorBrowserTeam201910R                          |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by pospeselr):

 * status:  assigned => needs_review
 * keywords:  ff68-esr, tbb-9.0-issues, tbb-regression, tbb-9.0.1-can =>
     ff68-esr, tbb-9.0-issues, tbb-regression, tbb-9.0.1-can,
     TorBrowserTeam201910R


Comment:

 Very small patch fixes this, but took a bit to understand what's going on
 here.

 Basically we just have to explicitly pass null to _loadURL for the
 'result' parameter. Another adjacent code-path already does this in the
 case where we are providing a 'pseudo-url' like example.com (via paste or
 through a complicated UI flow using the keyboard) where it first must
 prepend !http://www or whatever to it before calling _loadURL (which it
 does with a null 'result' parameter).

 tor-browser: https://gitweb.torproject.org/user/richard/tor-
 browser.git/commit/?h=bug_31764

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


More information about the tor-bugs mailing list