diff options
author | Timo Teräs <timo.teras@iki.fi> | 2010-08-19 22:56:23 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2010-08-19 22:56:23 +0300 |
commit | 9ee4f03712925b1fe7634ca66d8d421e676e5b58 (patch) | |
tree | 0d83e191de91b27bafdd28583e8963e6908fd61c /blob.h | |
parent | aa008d0769a8e2c1f529b92585659336c0f11953 (diff) | |
download | squark-9ee4f03712925b1fe7634ca66d8d421e676e5b58.tar.bz2 squark-9ee4f03712925b1fe7634ca66d8d421e676e5b58.tar.xz |
filter: do not modify deniedurl cgi parameter
Keep the modifications (which are needed for key lookup) inside the
lookup routine. This includes e.g. lower casing the URL. This way
can pass the exact original request string to our block page script.
This also changes the way 'www123.' is stripped from the request.
Diffstat (limited to 'blob.h')
-rw-r--r-- | blob.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ 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_lower(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); |