Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Tor Browser
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,282
    • Issues 1,282
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Applications
  • Tor Browser
  • Issues
  • #40760

Closed
Open
Created Dec 21, 2021 by Pier Angelo Vendrame@pierovMaintainer

Onion rewrite does work when opening link in a new tab

Summary

If you visit a site from an URL like http://theintercept.securedrop.tor.onion/ and open one of their links in a new tab, the new tab has a non-rewritten URL

Steps to reproduce:

  1. Go to http://theintercept.securedrop.tor.onion/ or to http://2600.securedrop.tor.onion/ or to any site from https://securedrop.org/directory/
  2. Click on generate with the mouse wheel or control and left click (right click and open in a new tab tends not to show the behavior); also opening in a new window (Shift+Left click) has the same effect
  3. Have a look at the URL bar: it may have an URL like http://xpxduj55x2j27l2qytu2tcetykyfxbjbafin3x4i3ywddzphkbrd3jyd.onion/generate or http://cy6wj77vryhcyh6go576hxycjz4wxlo4s5vevdinkw3armwzty5jozyd.onion/generate instead of the rewritten one
  4. Repeat 2. until you get 3.

What is the current bug behavior?

The URL in the new tab is not rewritten (see 3. on the previous section)

What is the expected behavior?

The URL always rewritten

Relevant logs and/or screenshots

onionrewrite_newtab

I opened this in a new tab originally, then moved the tab to a new window just for the screenshot.

Edited Dec 21, 2021 by Pier Angelo Vendrame
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking