mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
reduced string for lol bomb filtering, to filter out <\?xml* instead of <\?xml\ *
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f7a36d65a9
commit
a1ab524bdf
@ -568,8 +568,8 @@ bool GetTlvWideString(void *data, uint32_t size, uint32_t *offset,
|
|||||||
static const std::wstring err_in = L"**** String removed (SVG bomb?) ****" ;
|
static const std::wstring err_in = L"**** String removed (SVG bomb?) ****" ;
|
||||||
static std::wstring suspiscious_strings[number_of_suspiscious_strings] = { L"<!e", // base ingredient of xml bombs
|
static std::wstring suspiscious_strings[number_of_suspiscious_strings] = { L"<!e", // base ingredient of xml bombs
|
||||||
L"<!E",
|
L"<!E",
|
||||||
L"PD94bWwg", // this is the base64 encoding of <?xml
|
L"PD94bW", // this is the base64 encoding of <?xml*
|
||||||
L"PHN2Zy" // this is the base64 encoding of <svg
|
L"PHN2Zy" // this is the base64 encoding of <svg*
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
#ifdef TLV_BASE_DEBUG
|
#ifdef TLV_BASE_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user