Skip to content

Commit

Permalink
[components] For mozilla-mobile/android-components#12233: Handle ERRO…
Browse files Browse the repository at this point in the history
…R_BAD_HSTS_CERT error.

X-Channel-Revision: [main] mozilla-mobile/android-components@cf522a7
X-Channel-Revision: [main] mozilla-mobile/fenix@20b25d7
X-Channel-Revision: [main] mozilla-mobile/focus-android@29486b8
X-Channel-Converted-Revision: [ac-prep] mozilla-mobile/firefox-android@5628902
  • Loading branch information
mcarare authored and mergify[bot] committed Jun 15, 2022
1 parent ede4e5f commit 5438e4d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _meta/mozilla-mobile-firefox-android.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mozilla-mobile/firefox-android",
"revs": {
"ac-prep": "159dc232c66b7b30e5c769baffd5bcbed89b2277"
"ac-prep": "562890296080043d6ba4fc107d81f305bea52e0e"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,26 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Accept the Risk and Continue</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">This website requires a secure connection.</string>
<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>The page you are trying to view cannot be shown because this website requires a secure connection.</li>
<li>The issue is most likely with the website, and there is nothing you can do to resolve it.</li>
<li>You can notify the website’s administrator about the problem.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Advanced…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> <b>%1$s</b> has a security policy called HTTP Strict Transport Security (HSTS), which means that <b>%2$s</b> can only connect to it securely. You can’t add an exception to visit this site.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Go Back</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">The connection was interrupted</string>
<!-- The error message shown when the user's network connection is interrupted while connecting to a website. -->
Expand Down

0 comments on commit 5438e4d

Please sign in to comment.