Skip to content

Commit

Permalink
[IZI KARMA] NONE: add more safe headers from GitHub (#1959)
Browse files Browse the repository at this point in the history
NONE: add more safe headers from GitHub
  • Loading branch information
bgvozdev authored Mar 13, 2023
1 parent 2be79b7 commit ad334ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/util/http-headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,10 @@ const knownGitHubSafe = new Set([
"x-github-delivery",
"x-github-event",
"x-github-hook-id",
"x-ratelimit-used"
"x-ratelimit-used",
"x-github-api-version-selected",
"x-github-media-type",
"x-ratelimit-resource"
]);

export const canLogHeader = (httpHeader: string) => {
Expand Down

0 comments on commit ad334ef

Please sign in to comment.