Skip to content

Commit e4260ea

Browse files
authored
add /\ to invalid start paths (#54877)
1 parent ba94c66 commit e4260ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shielding/middleware/handle-invalid-paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ExtendedRequest } from '@/types'
77
// one of these.
88
// These are clearly intentional "guesses" made by some sort of
99
// pen-testing bot.
10-
const JUNK_STARTS = ['///']
10+
const JUNK_STARTS = ['///', '/\\']
1111
const JUNK_ENDS = [
1212
'/package.json',
1313
'/package-lock.json',

0 commit comments

Comments
 (0)