From b7eac294771a72711208d288657a5667d65e8882 Mon Sep 17 00:00:00 2001 From: Alex Dowad Date: Thu, 10 Apr 2014 21:24:18 +0200 Subject: 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. --- src/blob.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/blob.h') diff --git a/src/blob.h b/src/blob.h index 6a8e51c..c2a394e 100644 --- a/src/blob.h +++ b/src/blob.h @@ -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); -- cgit v1.2.3