-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prune headers that don't belong in cache metadata
There is no justifiable reason to put the `authorization` header in the cache metadata. Even if we can assume that the cache should not ever be exposed or leaked, it's a security footgun that is unnecessary. Some other fields probably should not be cached as well. We may want to re-enable storing the npm or Cloudflare session IDs at some point for debugging, but for now, these are also just excessive.
- Loading branch information
Showing
2 changed files
with
43 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters