We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44128c3 commit 6a1fbb8Copy full SHA for 6a1fbb8
src/shielding/middleware/handle-invalid-paths.ts
@@ -7,7 +7,7 @@ import { ExtendedRequest } from '@/types'
7
// one of these.
8
// These are clearly intentional "guesses" made by some sort of
9
// pen-testing bot.
10
-const JUNK_STARTS = ['///', '/\\']
+const JUNK_STARTS = ['///', '/\\', '/\\.']
11
const JUNK_ENDS = [
12
'/package.json',
13
'/package-lock.json',
0 commit comments