Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Fix path traversal problem when the request URI
does not have a leading slash.
The file server now returns HTTP 400 when requests
lack the leading slash, and are not absolute URIs.
(https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html).
|
|
|
|
|
|
This commit makes output of std/ tests less noisy
by passing "--quiet" flag to Deno subprocesses run
as part of test suite.
|
|
includes:
- http/file_server.ts
- testing/_diff.ts
- testing/asserts.ts
Relates to #7487
|
|
If the request body is using chunked encoding, errors may
be thrown in "request.finalize()".
In this case, we should untrack and close the connection.
|
|
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
|
|
Fixes #8339
|
|
|
|
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
|
|
|
|
|
|
Use $STD_VERSION in std/ README files to automatically
display proper version.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This makes std/http tests runnable from any directory by spawning test
processes in the module directory resolved from import.meta.url and
resolving test data relative to the same module directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
As per [RFC 8470 5.2](https://tools.ietf.org/html/rfc8470#section-5.2)
|
|
|