This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
fix(deps): update rust crate warp to 0.3.0 [security] #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.2
->0.3.0
GitHub Vulnerability Alerts
GHSA-8v4j-7jgf-5rg9
Path resolution in
warp::filters::fs::dir
didn't correctly validate Windows paths meaning paths like/foo/bar/c:/windows/web/screen/img101.png
would be allowed and respond with the contents ofc:/windows/web/screen/img101.png
. Thus users could potentially read files anywhere on the filesystem.This only impacts Windows. Linux and other unix likes are not impacted by this.
Release Notes
seanmonstar/warp (warp)
v0.3.3
Compare Source
fs
filters path sanitization to reject colons on Windows.v0.3.2
Compare Source
Filter::then()
, which is likeFilter::map()
in that it's infallible, but is async likeFilter::and_then()
.redirect::found()
reply helper that returns302 Found
.compression-brotli
andcompression-gzip
cargo features to enable only the compression you need.HEAD
requests to be served tofs::dir()
filters.path!()
with no arguments.futures
withfutures-util
, which is a smaller dependency.v0.3.1
Compare Source
pong
constructor to websocket messages.redirect::see_other
andredirect::permanent
helpers.fs
filters sometimes having an off-by-one error with range requests.Access-Control-Request-Headers
.v0.3.0
Compare Source
From<Reject>
forRejection
.close_frame
accessor tows::Message
.sse
filter to be more likews
, with a singleEvent
type and builder.cookie
filter to extract a genericFromStr
value.v0.2.5 (August 31, 2020)
wrap_fn
, which can be used to create aWrap
from a closure. These in turn are used withFilter::with()
.warp::host
filters to deal withHost
/:authority
headers.Server
.CONNECT foo.bar
).v0.2.4 (July 20, 2020)
tracing
internals in place oflog
(log is still emitted for backwards compatibility).warp::trace
module set of filters to customizetracing
dianostics.path
method towarp::fs::File
reply.source
implementation forBodyDeserializeError
.warp::ws::MissingConnectionUpgrade
rejection public.v0.2.3 (May 19, 2020)
warp::compression
filters, which will compress response bodies.warp::header::value()
filter to get a requestHeaderValue
.request_headers
method towarp::log::Info
.max_frame_size
towarp::ws::Ws
builder.remote_addr
towarp::test::RequestBuilder
.try_bind_with_graceful_shutdown
towarp::Server
builder.serve_incoming_with_graceful_shutdown
towarp::Server
builder.warp::addr::remote
when used withServer::tls
.warp::path::{peek, tail, full}
filters when the request URI is in authority-form or asterisk-form.v0.2.2 (March 3, 2020)
Reply
for allBox<T>
whereT: Reply
.name
methods toMissingHeader
,InvalidHeader
, andMissingCookie
rejections.warp::ext::optional()
filter that optionally retrieves an extension from the request.ws::Message::ping()
.v0.2.1 (January 23, 2020)
close
andclose_with
constructors towarp::ws::Message
.warp::fs
filters using a very small read buffer.v0.2.5
Compare Source
wrap_fn
, which can be used to create aWrap
from a closure. These in turn are used withFilter::with()
.warp::host
filters to deal withHost
/:authority
headers.Server
.CONNECT foo.bar
).v0.2.4
Compare Source
tracing
internals in place oflog
(log is still emitted for backwards compatibility).warp::trace
module set of filters to customizetracing
dianostics.path
method towarp::fs::File
reply.source
implementation forBodyDeserializeError
.warp::ws::MissingConnectionUpgrade
rejection public.v0.2.3
Compare Source
warp::compression
filters, which will compress response bodies.warp::header::value()
filter to get a requestHeaderValue
.request_headers
method towarp::log::Info
.max_frame_size
towarp::ws::Ws
builder.remote_addr
towarp::test::RequestBuilder
.try_bind_with_graceful_shutdown
towarp::Server
builder.serve_incoming_with_graceful_shutdown
towarp::Server
builder.warp::addr::remote
when used withServer::tls
.warp::path::{peek, tail, full}
filters when the request URI is in authority-form or asterisk-form.Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.