Commit b3b810d
authored
This pull request makes minor adjustments to improve file handling and
security checks in the codebase. The changes focus on updating file
extension matching and expanding the list of blocked redirect paths.
Improvements to file handling:
* Updated the file extension matching in `src/proxy.ts` to include
`.json` files, ensuring that requests for JSON files are properly
handled or filtered.
Security enhancements:
* Added `/manifest.json` to the list of blocked redirect paths in
`src/utils/auth/redirect.ts` to prevent potential security issues with
redirects to this file.
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments