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

[tor-commits] [Git][tpo/applications/tor-browser][base-browser-128.7.0esr-14.5-1] fixup! BB 42716: Disable unwanted about: pages



Title: GitLab

ma1 pushed to branch base-browser-128.7.0esr-14.5-1 at The Tor Project / Applications / Tor Browser

Commits:

  • d2b1cdb2
    by Henry Wilkes at 2025-02-03T17:58:41+01:00
    fixup! BB 42716: Disable unwanted about: pages
    
    TB 43308: Remove about:logo which exposes a branding asset.
    

1 changed file:

Changes:

  • docshell/base/nsAboutRedirector.cpp
    ... ... @@ -123,10 +123,9 @@ static const RedirEntry kRedirMap[] = {
    123 123
              nsIAboutModule::IS_SECURE_CHROME_UI},
    
    124 124
         {"logging", "chrome://global/content/aboutLogging.html",
    
    125 125
          nsIAboutModule::ALLOW_SCRIPT},
    
    126
    -    {"logo", "chrome://branding/content/about.png",
    
    127
    -     nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT |
    
    128
    -         // Linkable for testing reasons.
    
    129
    -         nsIAboutModule::MAKE_LINKABLE},
    
    126
    +    // Do not allow web pages to link to about:logo, which varies between
    
    127
    +    // channels. See tor-browser#43308.
    
    128
    +    // Moreover, it exposes firefox-specific branding.
    
    130 129
         {"memory", "chrome://global/content/aboutMemory.xhtml",
    
    131 130
          nsIAboutModule::ALLOW_SCRIPT},
    
    132 131
         {"certificate", "chrome://global/content/certviewer/certviewer.html",
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx