diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-08-19 14:25:00 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-08-19 14:25:00 +0300 |
commit | d4c65ad0235bc8c964d9376410e517c748add147 (patch) | |
tree | 2c68b5ec1fe298a776ce32bfbb6702ed8a73c41b /blob.h | |
parent | 2c4ddb6620101ebad2bff0c007a99aea97a15de1 (diff) | |
download | squark-d4c65ad0235bc8c964d9376410e517c748add147.tar.bz2 squark-d4c65ad0235bc8c964d9376410e517c748add147.tar.xz |
filter: url encoding of block script parameters
and pass the denied url too.
Diffstat (limited to 'blob.h')
-rw-r--r-- | blob.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,9 +42,11 @@ unsigned long blob_inet_addr(blob_t buf); blob_t blob_pushed(blob_t buffer, blob_t left); void blob_push(blob_t *b, blob_t d); +void blob_push_byte(blob_t *b, unsigned char byte); void blob_push_uint(blob_t *to, unsigned int value, int radix); void blob_push_hexdump(blob_t *to, blob_t binary); void blob_push_urldecode(blob_t *to, blob_t url); +void blob_push_urlencode(blob_t *to, blob_t url); blob_t blob_pull(blob_t *b, int len); void blob_pull_skip(blob_t *b, int len); int blob_pull_matching(blob_t *b, blob_t e); |