Commit grafiek

63 Commits (master)
 

Auteur SHA1 Bericht Datum
KitaitiMakoto 446d306ec5 Merge pull request 'Bump version to 0.1.2' (#11) from bump-version into master
Reviewed-on: #11
1 jaar geleden
Kitaiti Makoto 069655ff1f Bump version to 0.1.2 1 jaar geleden
KitaitiMakoto b8cdbc0239 Merge pull request 'Fix a bug not to proxy Persian content appropriately' (#10) from persian-content into master
Reviewed-on: #10
1 jaar geleden
Kitaiti Makoto 2c48d39792 Remove unused dependency 1 jaar geleden
Kitaiti Makoto 21e6bcf4fe [BUG FIX]Extend unparsed buffer for long content 1 jaar geleden
Kitaiti Makoto 70b463a54a Add test for Persian content 1 jaar geleden
Kitaiti Makoto 04e2b29d22 Add pretty-assertions to dev dependencies 1 jaar geleden
KitaitiMakoto e400909066 Merge pull request 'Bump version to 0.1.1' (#9) from update-crates into master
Reviewed-on: #9
1 jaar geleden
Kitaiti Makoto 837c3ab157 Bump version to 0.1.1 1 jaar geleden
KitaitiMakoto 5984ca4007 Merge pull request 'Update ring crate' (#8) from update-ring into master
Reviewed-on: #8
1 jaar geleden
Kitaiti Makoto 48c861afc8 Follow Clippy 1 jaar geleden
Kitaiti Makoto 8758b8c5c1 [REFACTORING]Extract CsrfProtection::seal_in_place() 1 jaar geleden
Kitaiti Makoto 1ba0609ac3 Follow API change of ring 1 jaar geleden
Kitaiti Makoto c9ed8cafdf Update ring crate to 0.16 1 jaar geleden
Trinity Pointard 29910f2829 remove stabilized feature 5 jaren geleden
Trinity Pointard 89ecb38026 allow exceptions that don't change http verbe 5 jaren geleden
Trinity Pointard 4a72ea2ec7 Use constant time comparison for slice
Thanks @ProgVal for the tip
5 jaren geleden
Trinity Pointard 2f4644f9fb Use constants instead of raw int and run Clippy 5 jaren geleden
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 jaren geleden
Trinity Pointard 717fad53cf Allow post request for clients without session 5 jaren geleden
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 jaren geleden
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 jaren geleden
fdb-hiroshima e6ead8051c
Merge pull request #4 from fdb-hiroshima/plume
bump rocket version
6 jaren geleden
Trinity Pointard 37c71dc7f7 Upgrade to rocket 0.4.0-rc.1 6 jaren geleden
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
6 jaren geleden
Trinity Pointard 2805ce5dba Add benchmarks 6 jaren geleden
Trinity Pointard bb97ed018d Minimise cookie creation
Create new cookies only when loading html content
6 jaren geleden
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 jaren geleden
Trinity Pointard 5d23ba4c6c Fix #3 6 jaren geleden
Trinity Pointard 90a4aeca83 Fix possible assertion error on slice copy 6 jaren geleden
Trinity Pointard c852e554ea Fix possible index out of range 6 jaren geleden
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 jaren geleden
Thomas Letan 06e14f8349 Update to a more recent version of rocket and to nightly-2018-07-17 6 jaren geleden
Trinity Pointard 2a1aa1e48d Run cargo fmt 6 jaren geleden
Trinity Pointard 15242489c4 Add test for CsrfFairing
Add dependancies required for tests
Fix encoding issue with some url encoders
6 jaren geleden
Trinity Pointard 771b514a5a Run cargo fmt 6 jaren geleden
Trinity Pointard 1fe6947822 Remove some unreachable code 6 jaren geleden
Trinity Pointard 483f3e91f3 Finish adding test to path.rs 6 jaren geleden
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 jaren geleden
Trinity Pointard f3ec5bd6dc Run cargo fmt 6 jaren geleden
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 jaren geleden
Trinity Pointard 896fcaf14b Add support for multipart form 6 jaren geleden
Trinity Pointard 0fbacab1bc Add tests and fix parsing error
Add test for CsrfProxy
Fix errors new tests highlighted
6 jaren geleden
Trinity Pointard 5309b7634a Full rewrite of csrf_proxy
Full rewrite of csrf_proxy to make it more reliable
6 jaren geleden
Trinity Pointard 91c5773d9f Merge branch 'master' into plume 6 jaren geleden
Trinity Pointard ecf137c512 add test for MultiDyn segments of path 6 jaren geleden
Trinity Pointard 8bd1ebcbbb disable cargo clippy on Travis as it fail more often than none 6 jaren geleden
Trinity Pointard fe0c864f73 Add test for dynamic path and support for multi-segment dynamic part 6 jaren geleden
Trinity Pointard f6e9c29311 base plume branch on the same rocket as Plume-org/Plume 6 jaren geleden
Trinity Pointard 452c390665 base master on rocket 0.3 (released) 6 jaren geleden