Skip to content

Commit 350acfc

Browse files
Levixtunetheweb
andauthored
feat: add security chapter to 2022/zh-CN directory (#3278)
* feat: add security chapter to 2022/zh-CN directory * feat: add security chapter to chinese * feat: add security chapter to chinese * Align line numbers * Fix file generation error * Fix linting errors * Add Contributor profile * Remove untranslated file * Add avatar * Remove /en-US/ from MDN links as they redirect * Fix links * Fix links * Fix linting * fix: translate error. Co-authored-by: Barry Pollard <barrypollard@google.com>
1 parent 59938ba commit 350acfc

3 files changed

Lines changed: 1288 additions & 2 deletions

File tree

src/config/2022.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,14 @@
12811281
],
12821282
"github":"yokoka"
12831283
},
1284+
"Levix":{
1285+
"name": "Zhiwei Li",
1286+
"teams":[
1287+
"translators"
1288+
],
1289+
"avatar_url": "65117011",
1290+
"github":"Levix"
1291+
},
12841292
"luckybai": {
12851293
"name": "Zongchao Bai",
12861294
"teams": [

src/content/en/2022/security.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ There are two different ways to set the time when a cookie is deleted: `Max-Age`
256256

257257
Unlike last year, where we saw that the median for `Max-Age` was 365 days but the median for `Expires` was 180 days, this year it's around 365 days for both. Hence the median for real maximum age has gone up from 180 days to 365 days this year. Even though the `Max-Age` is 729 days and `Expires` is 730 days in the 90th percentile, Chrome has been planning to put a <a hreflang="en" href="https://chromestatus.com/feature/4887741241229312">cap of 400 days</a> for both `Max-Age` and `Expires`.
258258

259-
260259
<figure>
261260
<table>
262261
<thead>
@@ -543,7 +542,6 @@ Subresource integrity is specified as a base64 string of a computed hash of one
543542

544543
Consistent with last year's report, SHA384 continues to demonstrate the majority of SRI hash types observed between all available hash functions.
545544

546-
547545
CDNs are no strangers to Subresource Integrity and provide secure defaults to their consumers by including a Subresource Integrity value as part of their URL references for content to be served on the page.
548546

549547
<figure>

0 commit comments

Comments
 (0)