summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_restore_service.cc
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-11 16:41:18 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-11 16:41:18 +0000
commit1b2d1bb6e8acca107f19d7e7b26492ad5e033f3e (patch)
treedd7646cf1753020a6a6c072ca43b2b75512e82ff /chrome/browser/tab_restore_service.cc
parent5ac1b2fdabf03b301afd93cbda9a58268a8c70ec (diff)
downloadchromium_src-1b2d1bb6e8acca107f19d7e7b26492ad5e033f3e.zip
chromium_src-1b2d1bb6e8acca107f19d7e7b26492ad5e033f3e.tar.gz
chromium_src-1b2d1bb6e8acca107f19d7e7b26492ad5e033f3e.tar.bz2
Changes session service to not persist NavigationEntries that have
POST data. This is a security problem as POST data can contain passwords in plain text. BUG=1361980 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2063 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_restore_service.cc')
-rw-r--r--chrome/browser/tab_restore_service.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/tab_restore_service.cc b/chrome/browser/tab_restore_service.cc
index ef7a973..9b3bd4a 100644
--- a/chrome/browser/tab_restore_service.cc
+++ b/chrome/browser/tab_restore_service.cc
@@ -156,7 +156,6 @@ void TabRestoreService::PopulateTabFromController(
NavigationEntry* entry = (i == pending_index) ?
controller->GetPendingEntry() : controller->GetEntryAtIndex(i);
TabNavigation& tab_nav = tab->navigations[i];
- tab_nav.index = i;
tab_nav.url = entry->display_url();
tab_nav.title = entry->title();
tab_nav.state = entry->content_state();