From 1d76bc0d90d1151c03b0cf13265df5df9b3ffb41 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 30 Jul 2012 09:04:14 +0100 Subject: add another tiff regression test Change-Id: I0466a872576132b8ad9e5b164f57951549dd54e0 --- unotest/inc/unotest/filters-test.hxx | 4 ++-- unotest/source/cpp/filters-test.cxx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'unotest') 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)) ) -- cgit