summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
authorjvoisin2019-05-14 21:57:13 +0200
committerjvoisin2019-05-14 22:48:55 +0200
commit1cdb880fac5044194f0bc62dd82fcd4480192ebe (patch)
treeace8fdb1a2e00be2ac2c99bd7054a8d7a19fd3b3 /src/sp_utils.c
parent6ae912e2dc8c7f47d240e6910e42bb31263eb339 (diff)
Fix the cookie's handling for PHP7.3+
PHP 7.3+ added a new prototype for the cookie setting mechanism, breaking our ghetto samesite-injection, this commit takes care of it.
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c
index ea6afaf..475d552 100644
--- a/src/sp_utils.c
+++ b/src/sp_utils.c
@@ -1,6 +1,5 @@
1#include "php_snuffleupagus.h" 1#include "php_snuffleupagus.h"
2 2
3
4ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) 3ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus)
5 4
6bool sp_zend_string_equals(const zend_string* s1, const zend_string* s2) { 5bool sp_zend_string_equals(const zend_string* s1, const zend_string* s2) {