plume-org / rocket_csrf Goto Github PK
View Code? Open in Web Editor NEWRocket fairing for automatic csrf protection
License: GNU General Public License v3.0
Rocket fairing for automatic csrf protection
License: GNU General Public License v3.0
having 2 forms near end of file might cause the second one to not be filled
Here is the backtrace I'm getting.
thread '<unnamed>' panicked at 'index 5793 out of range for slice of length 5148', libcore/slice/mod.rs:1971:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::print
at libstd/sys_common/backtrace.rs:71
at libstd/sys_common/backtrace.rs:59
2: std::panicking::default_hook::{{closure}}
at libstd/panicking.rs:211
3: std::panicking::default_hook
at libstd/panicking.rs:227
4: std::panicking::rust_panic_with_hook
at libstd/panicking.rs:475
5: std::panicking::continue_panic_fmt
at libstd/panicking.rs:390
6: rust_begin_unwind
at libstd/panicking.rs:325
7: core::panicking::panic_fmt
at libcore/panicking.rs:77
8: core::slice::slice_index_len_fail
at libcore/slice/mod.rs:1971
9: <core::ops::range::Range<usize> as core::slice::SliceIndex<[T]>>::index_mut
at /checkout/src/libcore/slice/mod.rs:2148
10: core::slice::<impl core::ops::index::IndexMut<I> for [T]>::index_mut
at /checkout/src/libcore/slice/mod.rs:1964
11: <rocket_csrf::csrf_proxy::CsrfProxy<'a> as std::io::Read>::read
at /home/baptiste/.cargo/git/checkouts/rocket_csrf-3ea3def0d845c639/6fc55d2/src/csrf_proxy.rs:117
12: std::io::read_to_end
at /checkout/src/libstd/io/mod.rs:379
13: std::io::Read::read_to_end
at /checkout/src/libstd/io/mod.rs:605
14: <rocket_csrf::csrf_fairing::CsrfFairing as rocket::fairing::Fairing>::on_response
at /home/baptiste/.cargo/git/checkouts/rocket_csrf-3ea3def0d845c639/6fc55d2/src/csrf_fairing.rs:415
15: rocket::rocket::Rocket::dispatch
at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/fairing/fairings.rs:70
at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/rocket.rs:222
16: <rocket::rocket::Rocket as hyper::server::Handler>::handle
at /home/baptiste/.cargo/git/checkouts/rocket-8bf16d9ca7e90bdc/55459db/core/lib/src/rocket.rs:82
17: <hyper::server::Worker<H>>::keep_alive_loop
at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:337
18: <hyper::server::Worker<H>>::handle_connection
at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:283
19: hyper::server::handle::{{closure}}
at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/mod.rs:242
20: hyper::server::listener::spawn_with::{{closure}}
at /home/baptiste/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.10.13/src/server/listener.rs:50
If you need any other info, tell me.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.