summaryrefslogtreecommitdiff
path: root/src/sp_ifilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp_ifilter.c')
-rw-r--r--src/sp_ifilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_ifilter.c b/src/sp_ifilter.c
index 9c46875..67eb5f3 100644
--- a/src/sp_ifilter.c
+++ b/src/sp_ifilter.c
@@ -24,7 +24,7 @@ static const char sp_is_dangerous_char[256] = {
24/* 0xf0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 24/* 0xf0 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
25}; 25};
26 26
27static void sp_server_strip(HashTable *svars, char *key, int keylen) { 27static void sp_server_strip(HashTable *svars, const char *key, size_t keylen) {
28 zval *value = zend_hash_str_find(svars, key, keylen); 28 zval *value = zend_hash_str_find(svars, key, keylen);
29 if (!value || Z_TYPE_P(value) != IS_STRING) { return; } 29 if (!value || Z_TYPE_P(value) != IS_STRING) { return; }
30 30
@@ -39,7 +39,7 @@ static void sp_server_strip(HashTable *svars, char *key, int keylen) {
39 } 39 }
40} 40}
41 41
42static void sp_server_encode(HashTable *svars, char *key, int keylen) { 42static void sp_server_encode(HashTable *svars, const char *key, size_t keylen) {
43 zval *value = zend_hash_str_find(svars, key, keylen); 43 zval *value = zend_hash_str_find(svars, key, keylen);
44 if (!value || Z_TYPE_P(value) != IS_STRING) { return; } 44 if (!value || Z_TYPE_P(value) != IS_STRING) { return; }
45 45