Skip to content

Commit

Permalink
fix: x-xss-protection header now set to 0 (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Mar 16, 2021
1 parent ff5cbe8 commit 3918d42
Show file tree
Hide file tree
Showing 44 changed files with 2,792 additions and 2,792 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -305,7 +305,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -340,7 +340,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -421,7 +421,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -455,7 +455,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -515,7 +515,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -151,7 +151,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
194 changes: 97 additions & 97 deletions scenarios/api.github.com/add-labels-to-issue/raw-fixture.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -89,7 +89,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -237,7 +237,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -271,7 +271,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
250 changes: 125 additions & 125 deletions scenarios/api.github.com/branch-protection/raw-fixture.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
168 changes: 84 additions & 84 deletions scenarios/api.github.com/create-file/raw-fixture.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -150,7 +150,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -253,7 +253,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -390,7 +390,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
378 changes: 189 additions & 189 deletions scenarios/api.github.com/create-status/raw-fixture.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scenarios/api.github.com/errors/normalized-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
138 changes: 69 additions & 69 deletions scenarios/api.github.com/errors/raw-fixture.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down
198 changes: 99 additions & 99 deletions scenarios/api.github.com/get-archive/raw-fixture.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions scenarios/api.github.com/get-content/normalized-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
},
{
Expand Down Expand Up @@ -91,7 +91,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
24 changes: 12 additions & 12 deletions scenarios/api.github.com/get-content/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"Server",
"GitHub.com",
"Date",
"Fri, 05 Feb 2021 04:30:14 GMT",
"Tue, 16 Mar 2021 04:33:15 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Content-Length",
Expand All @@ -38,7 +38,7 @@
"Accept, Authorization, Cookie, X-GitHub-OTP",
"ETag",
"\"c9ffb3f1f572cfd2d07ddde624b5fbdbfc748492\"",
"last-modified",
"Last-Modified",
"Tue, 19 Sep 2017 15:57:54 GMT",
"X-OAuth-Scopes",
"admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
Expand All @@ -51,8 +51,8 @@
"X-RateLimit-Remaining",
"4965",
"X-RateLimit-Reset",
"1612502946",
"x-ratelimit-used",
"1615872728",
"X-RateLimit-Used",
"35",
"Access-Control-Expose-Headers",
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset",
Expand All @@ -65,15 +65,15 @@
"X-Content-Type-Options",
"nosniff",
"X-XSS-Protection",
"1; mode=block",
"0",
"Referrer-Policy",
"origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy",
"default-src 'none'",
"Vary",
"Accept-Encoding, Accept, X-Requested-With",
"X-GitHub-Request-Id",
"058B:771D:497BD0:9CAFBA:601CC9D6",
"0405:1C80:50D857:12A011A:6050350B",
"connection",
"close"
],
Expand All @@ -95,7 +95,7 @@
"Server",
"GitHub.com",
"Date",
"Fri, 05 Feb 2021 04:30:14 GMT",
"Tue, 16 Mar 2021 04:33:15 GMT",
"Content-Type",
"application/vnd.github.v3.raw; charset=utf-8",
"Content-Length",
Expand All @@ -106,7 +106,7 @@
"Accept, Authorization, Cookie, X-GitHub-OTP",
"ETag",
"\"93a078d1c3f76aa1ca11def8f882a06df1d4a01b\"",
"last-modified",
"Last-Modified",
"Fri, 15 Sep 2017 21:43:09 GMT",
"X-OAuth-Scopes",
"admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
Expand All @@ -119,8 +119,8 @@
"X-RateLimit-Remaining",
"4964",
"X-RateLimit-Reset",
"1612502946",
"x-ratelimit-used",
"1615872728",
"X-RateLimit-Used",
"36",
"Access-Control-Expose-Headers",
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset",
Expand All @@ -133,15 +133,15 @@
"X-Content-Type-Options",
"nosniff",
"X-XSS-Protection",
"1; mode=block",
"0",
"Referrer-Policy",
"origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy",
"default-src 'none'",
"Vary",
"Accept-Encoding, Accept, X-Requested-With",
"X-GitHub-Request-Id",
"0584:21A3:52380B:C7433C:601CC9D6",
"0406:6075:144F3EE:3301D07:6050350B",
"connection",
"close"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]
20 changes: 10 additions & 10 deletions scenarios/api.github.com/get-organization/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"is_verified": false,
"has_organization_projects": true,
"has_repository_projects": true,
"public_repos": 164,
"public_repos": 203,
"public_gists": 0,
"followers": 0,
"following": 0,
"html_url": "https://github.com/octokit-fixture-org",
"created_at": "2017-09-12T16:55:36Z",
"updated_at": "2021-01-12T15:52:43Z",
"updated_at": "2021-03-12T15:49:41Z",
"type": "Organization",
"total_private_repos": 0,
"owned_private_repos": 0,
Expand All @@ -53,7 +53,7 @@
"Server",
"GitHub.com",
"Date",
"Fri, 05 Feb 2021 04:30:14 GMT",
"Tue, 16 Mar 2021 04:33:15 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Content-Length",
Expand All @@ -63,9 +63,9 @@
"Vary",
"Accept, Authorization, Cookie, X-GitHub-OTP",
"ETag",
"\"5aaafe576c4fb02d731a680bb3b29625425d699c2d19336efb6d4e044db0c4c3\"",
"last-modified",
"Tue, 12 Jan 2021 15:52:43 GMT",
"\"191d6aacaecdd7f9003259bdbe4714e2e0aee88c9fb0f8eadba8dadfc72d9ad3\"",
"Last-Modified",
"Fri, 12 Mar 2021 15:49:41 GMT",
"X-OAuth-Scopes",
"admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow",
"X-Accepted-OAuth-Scopes",
Expand All @@ -77,8 +77,8 @@
"X-RateLimit-Remaining",
"4963",
"X-RateLimit-Reset",
"1612502946",
"x-ratelimit-used",
"1615872728",
"X-RateLimit-Used",
"37",
"Access-Control-Expose-Headers",
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset",
Expand All @@ -91,15 +91,15 @@
"X-Content-Type-Options",
"nosniff",
"X-XSS-Protection",
"1; mode=block",
"0",
"Referrer-Policy",
"origin-when-cross-origin, strict-origin-when-cross-origin",
"Content-Security-Policy",
"default-src 'none'",
"Vary",
"Accept-Encoding, Accept, X-Requested-With",
"X-GitHub-Request-Id",
"058C:5E3B:8AC3D4:E3E0DD:601CC9D6",
"0407:51B1:2F993EE:4AA90FA:6050350B",
"connection",
"close"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"x-ratelimit-remaining": "4999",
"x-ratelimit-reset": "1507651200000",
"x-ratelimit-used": 1,
"x-xss-protection": "1; mode=block"
"x-xss-protection": "0"
}
}
]

0 comments on commit 3918d42

Please sign in to comment.