ieframe: Don't add about: URLs to travellog.

This commit is contained in:
Jacek Caban 2015-08-18 14:00:47 +02:00 committed by Alexandre Julliard
parent bc051b9f33
commit 16bfe07639
1 changed files with 7 additions and 0 deletions

View File

@ -395,6 +395,13 @@ static void update_travellog(DocHost *This)
{
travellog_entry_t *new_entry;
static const WCHAR about_schemeW[] = {'a','b','o','u','t',':'};
if(This->url && !strncmpiW(This->url, about_schemeW, sizeof(about_schemeW)/sizeof(*about_schemeW))) {
TRACE("Skipping about URL\n");
return;
}
if(!This->travellog.log) {
This->travellog.log = heap_alloc(4 * sizeof(*This->travellog.log));
if(!This->travellog.log)