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

[tor-commits] [Git][tpo/applications/mullvad-browser][mullvad-browser-153.1.0esr-16.0-1] fixup! BB 42583: Modify moz-support-link for Base Browser.



Title: GitLab

Pier Angelo Vendrame pushed to branch mullvad-browser-153.1.0esr-16.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

  • bc8fd925
    by Pier Angelo Vendrame at 2026-08-18T17:04:32+02:00
    fixup! BB 42583: Modify moz-support-link for Base Browser.
    
    MB 566: Fix manual links.
    

1 changed file:

Changes:

  • toolkit/content/widgets/moz-support-link/moz-support-link.mjs
    ... ... @@ -107,7 +107,7 @@ export default class MozSupportLink extends HTMLAnchorElement {
    107 107
         const torManualPrefix = "tor-manual:";
    
    108 108
         if (supportPage.startsWith(torManualPrefix)) {
    
    109 109
           const torManualPage = supportPage.substring(torManualPrefix.length);
    
    110
    -      const [page, anchor] = torManualPage.split("_", 2);
    
    110
    +      const [pages, anchor] = torManualPage.split("___", 2);
    
    111 111
     
    
    112 112
           let locale = Services.locale.appLocaleAsBCP47;
    
    113 113
           if (locale === "ja-JP-macos") {
    
    ... ... @@ -115,7 +115,7 @@ export default class MozSupportLink extends HTMLAnchorElement {
    115 115
             locale = "ja";
    
    116 116
           }
    
    117 117
     
    
    118
    -      let href = `https://tb-manual.torproject.org/${locale}/${page}/`;
    
    118
    +      let href = `https://support.torproject.org/${locale}/tor-browser/${pages.replace("__", "/")}/`;
    
    119 119
           if (anchor) {
    
    120 120
             href = `${href}#${anchor}`;
    
    121 121
           }
    

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