From 6fef70730793eccc4943bca48c47439cd19b213e Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Tue, 18 Feb 2014 14:52:12 +0100 Subject: Some tests for the cookie encryption feature from Ben --- tests/cookie/crypt.docroot.phpt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/cookie/crypt.docroot.phpt (limited to 'tests/cookie/crypt.docroot.phpt') diff --git a/tests/cookie/crypt.docroot.phpt b/tests/cookie/crypt.docroot.phpt new file mode 100644 index 0000000..9eeb24b --- /dev/null +++ b/tests/cookie/crypt.docroot.phpt @@ -0,0 +1,27 @@ +--TEST-- +cookie encryption using document root +--SKIPIF-- + +--INI-- +suhosin.cookie.encrypt=1 +suhosin.cookie.cryptkey= +suhosin.cookie.cryptua=Off +suhosin.cookie.cryptdocroot=On +suhosin.cookie.cryptraddr=0 +suhosin.cookie.checkraddr=0 +;suhosin.cookie.cryptlist= +;suhosin.cookie.plainlist= +--ENV-- +return << +--EXPECTF-- +Set-Cookie: foo=CY8CspcGmDQPsap1NqJO1uAjB6fobur1Os5ZCqFGhU8. \ No newline at end of file -- cgit v1.3