closes #611: M1641303, update HSTS, TLDs

This commit is contained in:
Cameron Kaiser 2020-06-25 20:25:24 -07:00
parent 67c0562596
commit 2b07a7a8db
4 changed files with 1049 additions and 333 deletions

View File

@ -2504,8 +2504,11 @@ nsStandardURL::SetFilePath(const nsACString &input)
mSpec.Cut(mPath.mPos + 1, mFilepath.mLen - 1);
// left shift query, and ref
ShiftFromQuery(1 - mFilepath.mLen);
// One character for '/', and if we have a query or ref we add their
// length and one extra for each '?' or '#' characters
mPath.mLen = 1 + (mQuery.mLen >= 0 ? (mQuery.mLen + 1) : 0) +
(mRef.mLen >= 0 ? (mRef.mLen + 1) : 0);
// these contain only a '/'
mPath.mLen = 1;
mDirectory.mLen = 1;
mFilepath.mLen = 1;
// these are no longer defined

View File

@ -3785,7 +3785,7 @@ gov.lc
// li : https://en.wikipedia.org/wiki/.li
li
// lk : http://www.nic.lk/seclevpr.html
// lk : https://www.nic.lk/index.php/domain-registration/lk-domain-naming-structure
lk
gov.lk
sch.lk
@ -6918,11 +6918,11 @@ yt
қаз
// xn--fzc2c9e2c ("Lanka", Sinhalese-Sinhala) : LK
// http://nic.lk
// https://nic.lk
ලංකා
// xn--xkc2al3hye2a ("Ilangai", Tamil) : LK
// http://nic.lk
// https://nic.lk
இலங்கை
// xn--mgbc0a9azcg ("Morocco/al-Maghrib", Arabic) : MA

View File

@ -1149,4 +1149,4 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
static const int32_t kUnknownId = -1;
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1600697271966000);
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1600956497108000);

File diff suppressed because it is too large Load Diff