Skip to content
Snippets Groups Projects

Bug 40491: Don't auto-pick a v2 address when it's in Onion-Location header

All threads resolved!

We could do a more strict validation on the v3 host, if needed.

Also linted/formatted Document.cpp before applying the new patch.

Closes #40491 (closed).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • henry
  • henry
  • henry
  • added 1 commit

    • d1c50a4f - fixup! Bug 21952: Implement Onion-Location

    Compare with previous version

  • Pier Angelo Vendrame marked this merge request as draft from pierov/tor-browser@d1c50a4f

    marked this merge request as draft from pierov/tor-browser@d1c50a4f

  • Pier Angelo Vendrame marked this merge request as ready

    marked this merge request as ready

  • henry resolved all threads

    resolved all threads

  • added 1 commit

    • 87d02085 - fixup! Bug 21952: Implement Onion-Location

    Compare with previous version

  • Pier Angelo Vendrame marked this merge request as draft from pierov/tor-browser@87d02085

    marked this merge request as draft from pierov/tor-browser@87d02085

  • henry approved this merge request

    approved this merge request

  • added 2 commits

    • 2c885618 - fixup! Bug 21952: Implement Onion-Location
    • bc515cc7 - fixup! Bug 40458: Implement .tor.onion aliases

    Compare with previous version

  • added 1 commit

    • dae0e8fa - fixup! Bug 40458: Implement .tor.onion aliases

    Compare with previous version

  • Pier Angelo Vendrame marked this merge request as ready

    marked this merge request as ready

  • This was my test for v2 (but you need to temporarily disable the HTTPS test):

    from http.server import HTTPServer, SimpleHTTPRequestHandler
    
    
    class OnionLocationHandler(SimpleHTTPRequestHandler):
        def end_headers(self):
            self.send_header(
                "Onion-Location", "http://www.aa234567aaa23456.onion/a"
            )
            SimpleHTTPRequestHandler.end_headers(self)
    
    
    httpd = HTTPServer(("0.0.0.0", 3000), OnionLocationHandler)
    httpd.serve_forever()
  • morgan approved this merge request

    approved this merge request

  • Pier Angelo Vendrame resolved all threads

    resolved all threads

  • Please register or sign in to reply
    Loading