Removed hardcoded filters in msg40 for URLs with special sequences in them.

Filtered out results with URLS containing <![CDATA[ or ]]> in them.
Seems to have been a workaround for PageResults.cpp not escaping output correctly.
This commit is contained in:
Ivan Skytte Jørgensen
2017-02-06 15:18:48 +01:00
parent aa91a1b495
commit 1470188e18

@ -1505,18 +1505,6 @@ bool Msg40::gotSummary ( ) {
continue;
}
// filter out urls with <![CDATA in them
if ( mr && strstr( mr->ptr_ubuf, "<![CDATA[" ) ) {
*level = CR_BAD_URL;
continue;
}
// also filter urls with ]]> in them
if ( mr && strstr( mr->ptr_ubuf, "]]>" ) ) {
*level = CR_BAD_URL;
continue;
}
// filter empty title & summaries
if ( mr && mr->size_tbuf <= 1 && mr->size_displaySum <= 1 ) {
if ( ! m_si->m_showErrors ) {