summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-30 09:04:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-30 12:47:50 +0100
commit1d76bc0d90d1151c03b0cf13265df5df9b3ffb41 (patch)
tree75802f8f874c209df11289e48ea54621e32b0c3b /unotest
parent747cb47357f7088077e78878c1a37ad58138faf3 (diff)
add another tiff regression test
Change-Id: I0466a872576132b8ad9e5b164f57951549dd54e0
Diffstat (limited to 'unotest')
-rw-r--r--unotest/inc/unotest/filters-test.hxx4
-rw-r--r--unotest/source/cpp/filters-test.cxx1
2 files changed, 3 insertions, 2 deletions
diff --git a/unotest/inc/unotest/filters-test.hxx b/unotest/inc/unotest/filters-test.hxx
index 73cfbe32e362..d26c7f7b834f 100644
--- a/unotest/inc/unotest/filters-test.hxx
+++ b/unotest/inc/unotest/filters-test.hxx
@@ -40,8 +40,8 @@ enum filterStatus
};
/*
- * NOTE, any files beginning with CVE- or EDB- will be assumed to be encrypted
- * using arcfour with key 0x435645, this is to silence panicky
+ * NOTE, any files beginning with CVE-, BID- or EDB- will be assumed to be
+ * encrypted using arcfour with key 0x435645, this is to silence panicky
* virus/malware-checkers
*
* e.g. m[de]crypt --bare -a arcfour -o hex -k 435645 -s 3
diff --git a/unotest/source/cpp/filters-test.cxx b/unotest/source/cpp/filters-test.cxx
index f92ce794d028..64c6159bfffb 100644
--- a/unotest/source/cpp/filters-test.cxx
+++ b/unotest/source/cpp/filters-test.cxx
@@ -98,6 +98,7 @@ void FiltersTest::recursiveScan(const rtl::OUString &rFilter, const rtl::OUStrin
continue;
if (
+ (sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("BID"), nLastSlash+1)) ||
(sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("CVE"), nLastSlash+1)) ||
(sURL.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("EDB"), nLastSlash+1))
)