mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What?
Converts every test under `test/integration/` to an isolated test
running through `nextTestSetup` (under `test/e2e/`, `test/production/`,
`test/development/`, or `test/unit/`), then deletes `test/integration/`
along with the legacy CI orchestration that was specific to it.
- `test/integration/` removed entirely (~327 test suites)
- New isolated suites added across the existing folders:
- `test/e2e/` — 175
- `test/production/` — 130
- `test/development/` — 43
- `test/unit/` — 1
- `.github/workflows/build_and_test.yml` and `run-tests.js` no longer
have any `integration` branches
- `nextTestSetup` gained a `baseUrl` option on `next.browser()` so a
small number of tests that drive their own proxy/static-export server
can keep using `next.browser(...)` instead of importing `next-webdriver`
directly
### Why?
`test/integration/` predated `nextTestSetup` and ran tests directly
against the source checkout via custom helpers (`launchApp`,
`nextBuild`, `nextStart`, `runNextCommand`, `webdriver`, `fetchViaHTTP`,
…). Each suite hand-rolled its own dev/start/build orchestration,
fixture mutation, and process management.
The isolated test model used by the rest of the repo gives each suite an
isolated working directory containing a packed `next.tgz` install, a
uniform `next.start()` / `next.build()` / `next.fetch()` /
`next.browser()` API, and the same lifecycle for dev, start, and deploy
modes — so a single set of assertions covers all three. Deploy-mode
skips and per-feature gates are expressed declaratively
(`skipDeployment`, `disableAutoSkewProtection`, `if (skipped) return`)
instead of branching on `process.env`.
Removing `test/integration/` lets us:
- Delete the bespoke orchestration code in the CI workflow and
`run-tests.js`
- Run every converted suite consistently in dev, start, and deploy modes
(where applicable)
- Reproduce every test locally with the same `pnpm
test-{dev,start}-{turbo,webpack}` commands; no separate `integration`
path
- Open the door to running `test/production` against deployments in the
future (the converted suites already declare `skipDeployment` so they
can be flipped on)
### How?
Mechanical conversion per suite, with targeted clean-ups:
1. **Per-suite conversion.** Each
`test/integration/<name>/test/index.test.{js,ts}` was rewritten into a
single `<name>.test.ts` under the right folder based on what the
original exercised:
- `launchApp` / dev-only assertions → `test/development/`
- `nextBuild` + `nextStart` / start-only assertions → `test/production/`
- Both → `test/e2e/`
- The one pure jsdom render check (`link-without-router`) → `test/unit/`
2. **API mapping.** Custom helpers were replaced by `nextTestSetup`
equivalents: `launchApp` → `next.start()`, `nextBuild` → `next.build()`,
`runNextCommand` → `next.runCommand`, `fetchViaHTTP` → `next.fetch`,
`webdriver(...)` → `next.browser(...)`. Fixture mutations switched from
raw `fs.writeFile`/`fs.rename` to `next.patchFile` (with the 3-arg
`runWithTempContent` callback when the change has a defined scope) and
`next.deleteFile`.
3. **Deploy-mode handling.** Suites that can't run in deploy mode (use
`patchFile` / `next.build()` / depend on local CLI output) declare
`skipDeployment: true` and early-return on the `skipped` boolean. Suites
where Vercel's edge mutates URLs (`&dpl=`, immutable assets) declare
`disableAutoSkewProtection: true`.
4. **`next.browser({ baseUrl })`.** A handful of tests
(`prerender-export`, `cdn-cache-busting`, `preload-viewport`, both
`react-virtualized` suites) need to drive a separate server (a
static-export server or an `http-proxy` instance) rather than the
Next.js process. Instead of importing `next-webdriver` directly, those
tests now pass `{ baseUrl: <port|url> }` to `next.browser()`. For the
proxy cases, the proxy was moved into `server.js` inside the fixture and
`http-proxy` declared via the `dependencies` option of `nextTestSetup`,
so the test runs with a fully isolated dependency graph.
5. **CI clean-up.** With `test/integration` gone, the `test
integration*` jobs and `integration-tests-manifest`-related logic in
`.github/workflows/build_and_test.yml` were removed, and `run-tests.js`
no longer has the `integration` test-folder branch.
6. **Validation.** The PR was iterated against multiple full CI runs;
the remaining failures on the latest run are pre-existing flakes
(segment-cache 60s `act` timeouts in turbopack-prod) or transient
infrastructure issues unrelated to the conversion.
4511 lines
237 KiB
TypeScript
4511 lines
237 KiB
TypeScript
/* eslint-disable jest/no-identical-title */
|
|
import fs from 'fs-extra'
|
|
import { join } from 'path'
|
|
import { nextTestSetup } from 'e2e-utils'
|
|
import { fetchViaHTTP } from 'next-test-utils'
|
|
|
|
describe('file-serving', () => {
|
|
const { next, isNextDeploy, skipped } = nextTestSetup({
|
|
files: __dirname,
|
|
// Vercel's edge rejects malformed URLs (mixed-encoding traversal,
|
|
// backslash, double-encoded, etc.) before they reach the runtime, and
|
|
// `safeFetch` for those paths uses `localhost:0` which doesn't apply in
|
|
// deploy mode. The traversal protection we want to test here is local to
|
|
// Next.js's server.
|
|
skipDeployment: true,
|
|
})
|
|
if (skipped) return
|
|
|
|
// Helper to detect malformed URLs that can't be parsed by the URL constructor
|
|
const isMalformedUrl = (path) => {
|
|
// These are intentionally malformed URLs used for security testing
|
|
// They contain backslashes and other characters that make them invalid URLs
|
|
|
|
// Check for specific failing patterns
|
|
if (path.startsWith('////')) return true // ////%2e%2e%2f...
|
|
if (path.indexOf('/\\\\\\%2e%2e%5c') >= 0) return true // /\\\%2e%2e%5c...
|
|
if (path.indexOf('/\\..%2f') >= 0) return true // /\..%2f...
|
|
|
|
// General patterns
|
|
return (
|
|
path.includes('\\') || // literal backslashes
|
|
path.includes('%5c') || // URL-encoded backslashes (\)
|
|
path.includes('%5C') || // URL-encoded backslashes (uppercase)
|
|
path.includes('%2e%2e') || // URL-encoded dots (..)
|
|
path.includes('%2E%2E') || // URL-encoded dots (uppercase)
|
|
path.includes('%252f') || // double-encoded forward slash
|
|
path.includes('%255c') // double-encoded backslash
|
|
)
|
|
}
|
|
|
|
// Helper to fetch using appropriate method based on URL validity
|
|
const safeFetch = async (path, opts) => {
|
|
if (isMalformedUrl(path)) {
|
|
// Use fetchViaHTTP with numeric port to bypass strict URL validation
|
|
// (passing a number avoids getFullUrl's string-branch URL parsing)
|
|
return await fetchViaHTTP(Number(next.appPort), path, undefined, opts)
|
|
} else {
|
|
// Use normal next.fetch for valid URLs
|
|
return await next.fetch(path, opts)
|
|
}
|
|
}
|
|
|
|
const expectStatus = async (path) => {
|
|
const containRegex =
|
|
/(This page could not be found|Bad Request|bad request|BAD_REQUEST)/
|
|
// test base mount point `public/`
|
|
const checkRes = async (res) => {
|
|
if (res.status === 308) {
|
|
const redirectDest = res.headers.get('location')
|
|
const parsedUrl = new URL(redirectDest)
|
|
expect(parsedUrl.hostname).toBeOneOf(['localhost', '127.0.0.1'])
|
|
} else {
|
|
try {
|
|
expect(res.status === 400 || res.status === 404).toBe(true)
|
|
} catch (err) {
|
|
require('console').error({ path, status: res.status })
|
|
throw err
|
|
}
|
|
expect(await res.text()).toMatch(containRegex)
|
|
}
|
|
}
|
|
|
|
const res = await safeFetch(path, {
|
|
redirect: 'manual',
|
|
})
|
|
await checkRes(res)
|
|
|
|
// test `/_next` mount point
|
|
const res2 = await safeFetch(`/_next/${path}`, {
|
|
redirect: 'manual',
|
|
})
|
|
await checkRes(res2)
|
|
|
|
// test `/static` mount point
|
|
const res3 = await safeFetch(`/static/${path}`, {
|
|
redirect: 'manual',
|
|
})
|
|
await checkRes(res3)
|
|
}
|
|
|
|
beforeAll(async () => {
|
|
await fs.copy(
|
|
join(next.testDir, 'test-file.txt'),
|
|
join(next.testDir, '.next', 'test-file.txt')
|
|
)
|
|
})
|
|
|
|
it('should serve file with space correctly from public/', async () => {
|
|
const res = await next.fetch('/hello world.txt')
|
|
expect(res.status).toBe(200)
|
|
expect(await res.text()).toBe('hi')
|
|
})
|
|
|
|
// Vercel's deploy infrastructure only serves `public/` as static assets, not
|
|
// a top-level `static/` directory, so this case is local-only.
|
|
;(isNextDeploy ? it.skip : it)(
|
|
'should serve file with space correctly static/',
|
|
async () => {
|
|
const res = await next.fetch('/static/hello world.txt')
|
|
// eslint-disable-next-line jest/no-standalone-expect
|
|
expect(res.status).toBe(200)
|
|
// eslint-disable-next-line jest/no-standalone-expect
|
|
expect(await res.text()).toBe('hi')
|
|
}
|
|
)
|
|
|
|
it('should serve avif image with correct content-type', async () => {
|
|
// vercel-icon-dark.avif is downloaded from https://vercel.com/design and transformed to avif on avif.io
|
|
const res = await next.fetch('/vercel-icon-dark.avif')
|
|
expect(res.status).toBe(200)
|
|
expect(res.headers.get('content-type')).toBe('image/avif')
|
|
})
|
|
|
|
it('should serve correct error code', async () => {
|
|
// vercel-icon-dark.avif is downloaded from https://vercel.com/design and transformed to avif on avif.io
|
|
const res = await next.fetch('/vercel-icon-dark.avif', {
|
|
headers: {
|
|
Range: 'bytes=1000000000-',
|
|
},
|
|
})
|
|
expect(res.status).toBe(416) // 416 Range Not Satisfiable
|
|
})
|
|
|
|
// checks against traversal requests from
|
|
// https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Directory%20Traversal/Intruder/traversals-8-deep-exotic-encoding.txt
|
|
|
|
it('should prevent traversing with /../test-file.txt', async () => {
|
|
await expectStatus('/../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../test-file.txt', async () => {
|
|
await expectStatus('/../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/%252e%252e/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%252f%252e%252e%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%255c%252e%252e%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%af..%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%af..%c0%af..%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%af..%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/%c0%ae%c0%ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%af%c0%ae%c0%ae%c0%aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus('/..%25c0%25aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus('/..%25c0%25af..%25c0%25aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus('/..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25af..%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus('/%25c0%25ae%25c0%25ae/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/%25c0%25ae%25c0%25ae/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus('/%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25af%25c0%25ae%25c0%25ae%25c0%25aftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/..%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/..%c1%9c..%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/..%c1%9c..%c1%9c..%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9c..%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\%c0%ae%c0%ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus('/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9c%c0%ae%c0%ae%c1%9ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus('/..%25c1%259ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus('/..%25c1%259c..%25c1%259ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus('/..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259c..%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus('/%25c0%25ae%25c0%25ae\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\%25c0%25ae%25c0%25ae\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus('/%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259c%25c0%25ae%25c0%25ae%25c1%259ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66test-file.txt', async () => {
|
|
await expectStatus('/..%%32%66test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus('/..%%32%66..%%32%66test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus('/..%%32%66..%%32%66..%%32%66test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus('/..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66..%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus('/%%32%65%%32%65/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus('/%%32%65%%32%65/%%32%65%%32%65/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus('/%%32%65%%32%65%%32%66test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66%%32%65%%32%65%%32%66test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63test-file.txt', async () => {
|
|
await expectStatus('/..%%35%63test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus('/..%%35%63..%%35%63test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus('/..%%35%63..%%35%63..%%35%63test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus('/..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63..%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus('/%%32%65%%32%65/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus('/%%32%65%%32%65/%%32%65%%32%65/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus('/%%32%65%%32%65%%35%63test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63%%32%65%%32%65%%35%63test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /../test-file.txt', async () => {
|
|
await expectStatus('/../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../test-file.txt', async () => {
|
|
await expectStatus('/../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/%252e%252e/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%252f%252e%252e%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%255c%252e%252e%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /../test-file.txt', async () => {
|
|
await expectStatus('/../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../test-file.txt', async () => {
|
|
await expectStatus('/../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../../../../../../../../test-file.txt', async () => {
|
|
await expectStatus('/../../../../../../../../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus('/..%252f..%252f..%252f..%252f..%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%252f..%252f..%252f..%252f..%252f..%252f..%252f..%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e/%252e%252e/%252e%252e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/%252e%252e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%252f%252e%252e%252ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252f%252e%252e%252ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%5c..%5c..%5c..%5c..%5c..%5c..%5c..%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\%2e%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus('/..%255c..%255c..%255c..%255c..%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%255c..%255c..%255c..%255c..%255c..%255c..%255c..%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus('/%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\%252e%252e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus('/%252e%252e%255c%252e%252e%255ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255c%252e%252e%255ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../\\../\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../\\../\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../\\../\\../\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../\\../\\../\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../\\../\\../\\../\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../\\../\\../\\../\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\../\\../\\../\\../\\../\\../\\../\\../test-file.txt', async () => {
|
|
await expectStatus('/\\../\\../\\../\\../\\../\\../\\../\\../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\/..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\/..\\/..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\/..\\/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\/..\\/..\\/..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\/..\\/..\\/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\/..\\/..\\/..\\/..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\/..\\/..\\/..\\/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\/..\\/..\\/..\\/..\\/..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\/..\\/..\\/..\\/..\\/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with //..\\/..\\/..\\/..\\/..\\/..\\/..\\test-file.txt', async () => {
|
|
await expectStatus('//..\\/..\\/..\\/..\\/..\\/..\\/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/../../../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\\..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.../test-file.txt', async () => {
|
|
await expectStatus('/.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../.../.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../.../.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../.../.../.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../.../.../.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../.../.../.../.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../.../.../.../.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.../.../.../.../.../.../.../.../test-file.txt', async () => {
|
|
await expectStatus('/.../.../.../.../.../.../.../.../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\...\\...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\...\\...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\...\\...\\...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\...\\...\\...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\...\\...\\...\\...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\...\\...\\...\\...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /...\\...\\...\\...\\...\\...\\...\\...\\test-file.txt', async () => {
|
|
await expectStatus('/...\\...\\...\\...\\...\\...\\...\\...\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../test-file.txt', async () => {
|
|
await expectStatus('/..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../..../..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../..../..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../..../..../..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../..../..../..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../..../..../..../..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../..../..../..../..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..../..../..../..../..../..../..../..../test-file.txt', async () => {
|
|
await expectStatus('/..../..../..../..../..../..../..../..../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\test-file.txt', async () => {
|
|
await expectStatus('/....\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\test-file.txt', async () => {
|
|
await expectStatus('/....\\....\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\....\\test-file.txt', async () => {
|
|
await expectStatus('/....\\....\\....\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\....\\....\\test-file.txt', async () => {
|
|
await expectStatus('/....\\....\\....\\....\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\....\\....\\....\\test-file.txt', async () => {
|
|
await expectStatus('/....\\....\\....\\....\\....\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\....\\....\\....\\....\\test-file.txt', async () => {
|
|
await expectStatus('/....\\....\\....\\....\\....\\....\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\....\\....\\....\\....\\....\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/....\\....\\....\\....\\....\\....\\....\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /....\\....\\....\\....\\....\\....\\....\\....\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/....\\....\\....\\....\\....\\....\\....\\....\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /........................................................................../../../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/........................................................................../../../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..........................................................................\\..\\..\\..\\..\\..\\..\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..........................................................................\\..\\..\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215test-file.txt', async () => {
|
|
await expectStatus('/..%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus('/..%u2215..%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus('/..%u2215..%u2215..%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus('/..%u2215..%u2215..%u2215..%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus('/..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215..%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e/%uff0e%uff0e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/%uff0e%uff0e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215%uff0e%uff0e%u2215test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216test-file.txt', async () => {
|
|
await expectStatus('/..%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus('/..%u2216..%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus('/..%u2216..%u2216..%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus('/..%u2216..%u2216..%u2216..%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus('/..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216..%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8test-file.txt', async () => {
|
|
await expectStatus('/..%uEFC8test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus('/..%uEFC8..%uEFC8test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus('/..%uEFC8..%uEFC8..%uEFC8test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus('/..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus('/..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8..%uEFC8test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025test-file.txt', async () => {
|
|
await expectStatus('/..%uF025test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus('/..%uF025..%uF025test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus('/..%uF025..%uF025..%uF025test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus('/..%uF025..%uF025..%uF025..%uF025test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus('/..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025..%uF025test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\%uff0e%uff0e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus('/%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216%uff0e%uff0e%u2216test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2ftest-file.txt', async () => {
|
|
await expectStatus('/..0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus('/..0x2f..0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus('/..0x2f..0x2f..0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2f..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus('/..0x2f..0x2f..0x2f..0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus('/..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus('/..0x2f..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2f..0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e/0x2e0x2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/0x2e0x2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2f0x2e0x2e0x2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5ctest-file.txt', async () => {
|
|
await expectStatus('/..0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus('/..0x5c..0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus('/..0x5c..0x5c..0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5c..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus('/..0x5c..0x5c..0x5c..0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus('/..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus('/..0x5c..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5c..0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e\\0x2e0x2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\0x2e0x2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus('/0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5c0x2e0x2e0x5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%2f..%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%2f..%c0%2f..%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2f..%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/%c0%2e%c0%2e/test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2f%c0%2e%c0%2e%c0%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%c0%5c..%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%c0%5c..%c0%5c..%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5c..%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\%c0%2e%c0%2e\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus('/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5c%c0%2e%c0%2e%c0%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('////%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('////%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('////%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus('////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with ////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'////%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2f%2e%2e%2ftest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/\\\\\\%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/\\\\\\%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus('/\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/\\\\\\%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5ctest-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..//test-file.txt', async () => {
|
|
await expectStatus('/..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//..//..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//..//..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//..//..//..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//..//..//..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//..//..//..//..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//..//..//..//..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..//..//..//..//..//..//..//..//test-file.txt', async () => {
|
|
await expectStatus('/..//..//..//..//..//..//..//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///test-file.txt', async () => {
|
|
await expectStatus('/..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///..///..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///..///..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///..///..///..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///..///..///..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///..///..///..///..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///..///..///..///..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///..///..///..///..///..///..///..///test-file.txt', async () => {
|
|
await expectStatus('/..///..///..///..///..///..///..///..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\..\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\..\\\\..\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\\\..\\\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\..\\\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/./test-file.txt', async () => {
|
|
await expectStatus('/./\\/./test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus('/./\\/././\\/./test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus('/./\\/././\\/././\\/./test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/././\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus('/./\\/././\\/././\\/././\\/./test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/././\\/././\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus('/./\\/././\\/././\\/././\\/././\\/./test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/././\\/././\\/././\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/./\\/././\\/././\\/././\\/././\\/././\\/./test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/././\\/././\\/././\\/././\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/./\\/././\\/././\\/././\\/././\\/././\\/././\\/./test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /./\\/././\\/././\\/././\\/././\\/././\\/././\\/././\\/./test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/./\\/././\\/././\\/././\\/././\\/././\\/././\\/././\\/./test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus('/.\\/\\.\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus('/.\\/\\.\\.\\/\\.\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus('/.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus('/.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\.\\/\\.\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../../../test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././././../../../../../../../../test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\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.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\.\\..\\..\\..\\..\\..\\..\\..\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /./../test-file.txt', async () => {
|
|
await expectStatus('/./../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././.././.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././.././.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././.././.././.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././.././.././.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././.././.././.././.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././.././.././.././.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././.././.././.././.././.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././.././.././.././.././.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /./.././.././.././.././.././.././.././../test-file.txt', async () => {
|
|
await expectStatus('/./.././.././.././.././.././.././.././../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\test-file.txt', async () => {
|
|
await expectStatus('/.\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus('/.\\..\\.\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus('/.\\..\\.\\..\\.\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus('/.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus('/.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\.\\..\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//test-file.txt', async () => {
|
|
await expectStatus('/.//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus('/.//..//.//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus('/.//..//.//..//.//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus('/.//..//.//..//.//..//.//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//.//..//.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus('/.//..//.//..//.//..//.//..//.//..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//.//..//.//..//.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.//..//.//..//.//..//.//..//.//..//.//..//test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//.//..//.//..//.//..//.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.//..//.//..//.//..//.//..//.//..//.//..//.//..//test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.//..//.//..//.//..//.//..//.//..//.//..//.//..//.//..//test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.//..//.//..//.//..//.//..//.//..//.//..//.//..//.//..//test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/.\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/.\\\\..\\\\.\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\.\\\\..\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /../test-file.txt', async () => {
|
|
await expectStatus('/../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//test-file.txt', async () => {
|
|
await expectStatus('/../..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../test-file.txt', async () => {
|
|
await expectStatus('/../..//../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../..//test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../..//../test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../..//../test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../..//../..//test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../..//../..//test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\..\\\\..\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\..\\\\..\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\..\\\\..\\..\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\..\\\\..\\..\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..///test-file.txt', async () => {
|
|
await expectStatus('/..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..///test-file.txt', async () => {
|
|
await expectStatus('/../..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//..///test-file.txt', async () => {
|
|
await expectStatus('/../..//..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..///test-file.txt', async () => {
|
|
await expectStatus('/../..//../..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//..///test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../..///test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../..//..///test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../..//..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /../..//../..//../..//../..///test-file.txt', async () => {
|
|
await expectStatus('/../..//../..//../..//../..///test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\..\\\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus('/..\\..\\\\..\\..\\\\..\\..\\\\..\\\\\\test-file.txt')
|
|
})
|
|
|
|
it('should prevent traversing with /..\\..\\\\..\\..\\\\..\\..\\\\..\\..\\\\\\test-file.txt', async () => {
|
|
await expectStatus(
|
|
'/..\\..\\\\..\\..\\\\..\\..\\\\..\\..\\\\\\test-file.txt'
|
|
)
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f\\..%2f\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f\\..%2f\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f\\..%2f\\..%2f\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f', async () => {
|
|
await expectStatus('/\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f')
|
|
})
|
|
|
|
it('should prevent traversing with /\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2ftest-file.txt', async () => {
|
|
await expectStatus(
|
|
'/\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2f\\..%2ftest-file.txt'
|
|
)
|
|
})
|
|
})
|