mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -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
1 changed files with 3 additions and 3 deletions
|
@ -566,10 +566,10 @@ bool GetTlvWideString(void *data, uint32_t size, uint32_t *offset,
|
|||
|
||||
static const int number_of_suspiscious_strings = 4 ;
|
||||
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"PD94bWwg", // this is the base64 encoding of <?xml
|
||||
L"PHN2Zy" // this is the base64 encoding of <svg
|
||||
L"PD94bW", // this is the base64 encoding of <?xml*
|
||||
L"PHN2Zy" // this is the base64 encoding of <svg*
|
||||
} ;
|
||||
|
||||
#ifdef TLV_BASE_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue