diff options
author | Alex Dowad <alexinbeijing@gmail.com> | 2014-04-10 21:24:18 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-04-25 10:17:20 +0300 |
commit | b7eac294771a72711208d288657a5667d65e8882 (patch) | |
tree | 295ecc655384a2a82953be338774d6bc47dedf45 /src/blob.h | |
parent | 827c2c3823ba1923d3fb01e191997f6b9edd21a5 (diff) | |
download | squark-b7eac294771a72711208d288657a5667d65e8882.tar.bz2 squark-b7eac294771a72711208d288657a5667d65e8882.tar.xz |
squark-filter: correctly identify URLs with uppercase chars in path
squark.db stores all filtered domains/URLs in lowercase. So when
querying the filter DB, we need to convert the input URL to lowercase.
Diffstat (limited to 'src/blob.h')
-rw-r--r-- | src/blob.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -42,6 +42,7 @@ char *blob_cstr_dup(blob_t b); blob_t blob_dup(blob_t b); int blob_cmp(blob_t a, blob_t b); int blob_icmp(blob_t a, blob_t b); +void blob_lowercase(blob_t blob); unsigned long blob_inet_addr(blob_t buf); blob_t blob_pushed(blob_t buffer, blob_t left); |