feat(web): add trusted proxies feature #3524
Closed
Annotations
6 errors and 1 warning
Check with Clippy:
actix-web/src/info.rs#L217
[clippy] reported by reviewdog 🐶
error: manual backwards iteration
--> actix-web/src/info.rs:217:66
|
217 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
218 | | ... .rev()
219 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
= note: `-D clippy::manual-next-back` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]`
Raw Output:
actix-web/src/info.rs:217:66:e:error: manual backwards iteration
--> actix-web/src/info.rs:217:66
|
217 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
218 | | ... .rev()
219 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
= note: `-D clippy::manual-next-back` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]`
__END__
|
Check with Clippy:
actix-web/src/info.rs#L231
[clippy] reported by reviewdog 🐶
error: manual backwards iteration
--> actix-web/src/info.rs:231:66
|
231 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
232 | | ... .rev()
233 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
Raw Output:
actix-web/src/info.rs:231:66:e:error: manual backwards iteration
--> actix-web/src/info.rs:231:66
|
231 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
232 | | ... .rev()
233 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
__END__
|
Check with Clippy:
actix-web/src/info.rs#L217
[clippy] reported by reviewdog 🐶
error: manual backwards iteration
--> actix-web/src/info.rs:217:66
|
217 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
218 | | ... .rev()
219 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
= note: `-D clippy::manual-next-back` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]`
Raw Output:
actix-web/src/info.rs:217:66:e:error: manual backwards iteration
--> actix-web/src/info.rs:217:66
|
217 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
218 | | ... .rev()
219 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
= note: `-D clippy::manual-next-back` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_next_back)]`
__END__
|
Check with Clippy:
actix-web/src/info.rs#L231
[clippy] reported by reviewdog 🐶
error: manual backwards iteration
--> actix-web/src/info.rs:231:66
|
231 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
232 | | ... .rev()
233 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
Raw Output:
actix-web/src/info.rs:231:66:e:error: manual backwards iteration
--> actix-web/src/info.rs:231:66
|
231 | ... .flat_map(|vals| vals.split(','))
| ________________________________________________________^
232 | | ... .rev()
233 | | ... .next();
| |_____________________________^ help: use: `.next_back()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_next_back
__END__
|
Check with Clippy:
actix-web/src/trusted_proxies.rs#L80
[clippy] reported by reviewdog 🐶
error: use of a disallowed/placeholder name `e`
--> actix-web/src/trusted_proxies.rs:80:17
|
80 | Err(e) => match proxy.parse::<IpAddr>() {
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names
= note: `-D clippy::disallowed-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]`
Raw Output:
actix-web/src/trusted_proxies.rs:80:17:e:error: use of a disallowed/placeholder name `e`
--> actix-web/src/trusted_proxies.rs:80:17
|
80 | Err(e) => match proxy.parse::<IpAddr>() {
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names
= note: `-D clippy::disallowed-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]`
__END__
|
Check with Clippy:
actix-web/src/trusted_proxies.rs#L80
[clippy] reported by reviewdog 🐶
error: use of a disallowed/placeholder name `e`
--> actix-web/src/trusted_proxies.rs:80:17
|
80 | Err(e) => match proxy.parse::<IpAddr>() {
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names
= note: `-D clippy::disallowed-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]`
Raw Output:
actix-web/src/trusted_proxies.rs:80:17:e:error: use of a disallowed/placeholder name `e`
--> actix-web/src/trusted_proxies.rs:80:17
|
80 | Err(e) => match proxy.parse::<IpAddr>() {
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_names
= note: `-D clippy::disallowed-names` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]`
__END__
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading