Commit Graph

63 Commits (master)
 

Author SHA1 Message Date
KitaitiMakoto 446d306ec5 Merge pull request 'Bump version to 0.1.2' (#11) from bump-version into master
Reviewed-on: #11
1 year ago
Kitaiti Makoto 069655ff1f Bump version to 0.1.2 1 year ago
KitaitiMakoto b8cdbc0239 Merge pull request 'Fix a bug not to proxy Persian content appropriately' (#10) from persian-content into master
Reviewed-on: #10
1 year ago
Kitaiti Makoto 2c48d39792 Remove unused dependency 1 year ago
Kitaiti Makoto 21e6bcf4fe [BUG FIX]Extend unparsed buffer for long content 1 year ago
Kitaiti Makoto 70b463a54a Add test for Persian content 1 year ago
Kitaiti Makoto 04e2b29d22 Add pretty-assertions to dev dependencies 1 year ago
KitaitiMakoto e400909066 Merge pull request 'Bump version to 0.1.1' (#9) from update-crates into master
Reviewed-on: #9
1 year ago
Kitaiti Makoto 837c3ab157 Bump version to 0.1.1 1 year ago
KitaitiMakoto 5984ca4007 Merge pull request 'Update ring crate' (#8) from update-ring into master
Reviewed-on: #8
1 year ago
Kitaiti Makoto 48c861afc8 Follow Clippy 1 year ago
Kitaiti Makoto 8758b8c5c1 [REFACTORING]Extract CsrfProtection::seal_in_place() 1 year ago
Kitaiti Makoto 1ba0609ac3 Follow API change of ring 1 year ago
Kitaiti Makoto c9ed8cafdf Update ring crate to 0.16 1 year ago
Trinity Pointard 29910f2829 remove stabilized feature 5 years ago
Trinity Pointard 89ecb38026 allow exceptions that don't change http verbe 5 years ago
Trinity Pointard 4a72ea2ec7 Use constant time comparison for slice
Thanks @ProgVal for the tip
5 years ago
Trinity Pointard 2f4644f9fb Use constants instead of raw int and run Clippy 5 years ago
Trinity Pointard 9eb7b3f98b Remove dependencies to unmatained crats
Remove dependency csrf 0.3 as unmatained and can't compile on arm8
Add ring to do required cryptography
Remove dependency to rand as ring provid CPRNG
5 years ago
Trinity Pointard 717fad53cf Allow post request for clients without session 5 years ago
dependabot[bot] c64bad6470 Update rand requirement from ~0.5.2 to ~0.6.1
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/commits/0.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years ago
Trinity Pointard 46a3a3bd48 Don't insert token when method is GET
Don't insert token when method is unspecified or different from POST
Run cargo clippy
5 years ago
fdb-hiroshima e6ead8051c
Merge pull request #4 from fdb-hiroshima/plume
bump rocket version
5 years ago
Trinity Pointard 37c71dc7f7 Upgrade to rocket 0.4.0-rc.1 5 years ago
Trinity Pointard 5a95b8b98c Add tests on csrf_proxy
Add a macro must_finish, and use it in csrf_proxy's tests, to allow
	detection of infinite loop in parser
5 years ago
Trinity Pointard 2805ce5dba Add benchmarks 6 years ago
Trinity Pointard bb97ed018d Minimise cookie creation
Create new cookies only when loading html content
6 years ago
Trinity Pointard b326a9893a Do a better management of cookies
Don't store a cookie for each different path visited
Don't add csrf cookies if there is no session
Remove csrf cookie if session get dropped
6 years ago
Trinity Pointard 5d23ba4c6c Fix #3 6 years ago
Trinity Pointard 90a4aeca83 Fix possible assertion error on slice copy 6 years ago
Trinity Pointard c852e554ea Fix possible index out of range 6 years ago
fdb-hiroshima 6fc55d26f9
Merge pull request #1 from lthms/latest-rocket-4.0
Update to a more recent version of rocket and to nightly-2018-07-17
6 years ago
Thomas Letan 06e14f8349 Update to a more recent version of rocket and to nightly-2018-07-17 6 years ago
Trinity Pointard 2a1aa1e48d Run cargo fmt 6 years ago
Trinity Pointard 15242489c4 Add test for CsrfFairing
Add dependancies required for tests
Fix encoding issue with some url encoders
6 years ago
Trinity Pointard 771b514a5a Run cargo fmt 6 years ago
Trinity Pointard 1fe6947822 Remove some unreachable code 6 years ago
Trinity Pointard 483f3e91f3 Finish adding test to path.rs 6 years ago
Trinity Pointard 001773cacc Add test and fix issues they revealed
Add test for truncated html
Fix issue where parser would loop on some invalid html
6 years ago
Trinity Pointard f3ec5bd6dc Run cargo fmt 6 years ago
Trinity Pointard e16eb40fd9 Add test and fix issues they revealed
Add some tests
Fix issue when a buffer end at the wrong place, and prevent token from
being inserted
Correct comments and indentation
6 years ago
Trinity Pointard 896fcaf14b Add support for multipart form 6 years ago
Trinity Pointard 0fbacab1bc Add tests and fix parsing error
Add test for CsrfProxy
Fix errors new tests highlighted
6 years ago
Trinity Pointard 5309b7634a Full rewrite of csrf_proxy
Full rewrite of csrf_proxy to make it more reliable
6 years ago
Trinity Pointard 91c5773d9f Merge branch 'master' into plume 6 years ago
Trinity Pointard ecf137c512 add test for MultiDyn segments of path 6 years ago
Trinity Pointard 8bd1ebcbbb disable cargo clippy on Travis as it fail more often than none 6 years ago
Trinity Pointard fe0c864f73 Add test for dynamic path and support for multi-segment dynamic part 6 years ago
Trinity Pointard f6e9c29311 base plume branch on the same rocket as Plume-org/Plume 6 years ago
Trinity Pointard 452c390665 base master on rocket 0.3 (released) 6 years ago