Closed
Bug 316995
Opened 19 years ago
Closed 18 years ago
When migrating from Internet Explorer http auth passwords are not migrated
Categories
(Firefox :: Migration, enhancement, P3)
Tracking
()
RESOLVED
FIXED
Firefox 2 beta2
People
(Reporter: gf_bugz, Assigned: mwu)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
11.33 KB,
patch
|
mconnor
:
review+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051118 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051118 Firefox/1.5 When testing IE migration and starting with clean slate I noticed that not all passwords were migrated. I also checked the "saved passwords" dialog and it had no trace of some of the passwords. The passwords that were not migrated are HTTP protocols basic authentication based passwords that I have saved in IE. Reproducible: Always Steps to Reproduce: 1. Visit some HTTP protocol password protected site in Internet Explorer. 2. Save the password and then close and open it again to make sure it's saved. 3. Now do a clean install of Firefox 1.5rc3 and do migration from Internet Explorer. 4. Visit the same site with Firefox. It should have the password prefilled? Actual Results: The password is not migrated and not filled in. Expected Results: The password should show up just like it does in Internet Explorer
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 1•19 years ago
|
||
Migration and import of passwords seems boken on Win 2k
Status: NEW → ASSIGNED
Comment 2•19 years ago
|
||
Could you try a build from before 2005-10-25? Bug 316634 is about proxy settings no longer being imported after that build, maybe it's related to this bug. Getting a regression range would be helpful :).
Comment 3•19 years ago
|
||
Possibly a regression from bug 313529.
Comment 4•19 years ago
|
||
Nominating for next release(es) since this might be a regression from mconner's latest migration code changes. Assigning to him for more investigation.
Updated•19 years ago
|
Flags: blocking1.8.1?
Flags: blocking1.8.0.1?
Updated•19 years ago
|
Assignee: mconners → mconnor
Updated•19 years ago
|
Flags: blocking1.8.0.1? → blocking1.8.0.1-
Updated•18 years ago
|
Status: NEW → ASSIGNED
Flags: blocking-firefox2+
Target Milestone: --- → Firefox 2 beta1
Updated•18 years ago
|
Priority: -- → P3
Comment 6•18 years ago
|
||
This WFM on Win 2K with Bon Echo nightly from 2006-06-06
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 7•18 years ago
|
||
I am still getting problems. I just tried latest nightly: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1a3) Gecko/20060606 BonEcho/2.0a3 created new profile and selected Import under File menu. After selecting Internet Explorer I let it import things. Then I went into Tools->Options Privacy->Passwords and did "Show Passwords" out of list >30 items only 1 password was shown, all others are blank?
Reporter | ||
Comment 8•18 years ago
|
||
Ok. I see a list of 30 imported sites/passwords. However only 2 actual passwords are there when I do "Show passwords" button. Also it only prefills the login for those sites whos password wasn't imported. Re-opening per conversation w/ tracy.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•18 years ago
|
Whiteboard: 181b1+
Updated•18 years ago
|
Target Milestone: Firefox 2 beta1 → Firefox 2 beta2
Assignee | ||
Comment 10•18 years ago
|
||
The IE migrator checks PStore for its password and form data. HTTP auth saved login data isn't stored there, AFAICT, so the migrator never did this at any point. That's one bug (not regression). The other problem is that many passwords don't actually get migrated, which I'm still looking into. (regression?)
Assignee | ||
Comment 11•18 years ago
|
||
I don't really see any changes in the IE migrator that would cause a regression in password importing. Removing regression keyword for now.
Keywords: regression
Comment 12•18 years ago
|
||
mwu, is there anything that indicates why this is happening?
Whiteboard: 181b1+ → [at risk]
Assignee | ||
Comment 13•18 years ago
|
||
(In reply to comment #12) > mwu, is there anything that indicates why this is happening? > The original bug - HTTP auth passwords not getting imported - is because we don't implement importing that info. It has never worked because that info is not stored in PStore. I'm not sure where it's stored. Comment #7 and comment #8 suggests that there are other problems with importing passwords, but there's not much to go on besides "a lot of passwords don't import". FWIW, my test logins+passwords imported correctly. I'll take another look at this.
Comment 14•18 years ago
|
||
Taking off the list - I don't think we have time for this in FF2
Flags: blocking-firefox2+ → blocking-firefox2-
Assignee | ||
Updated•18 years ago
|
Severity: normal → enhancement
Keywords: qawanted
Summary: When migrating from Internet Explorer some of the passwords are not migrated → When migrating from Internet Explorer http auth passwords are not migrated
Whiteboard: [at risk] → [patch ready]
Assignee | ||
Comment 15•18 years ago
|
||
Ok, so I was wrong about http auth info not being stored in PStore. This patch adds support for importing HTTP auth data from IE. It only does HTTP auth for now since FTP is a bit more complicated. (and I don't think that many people know how to login with FTP in firefox)
Attachment #229907 -
Flags: superreview?(mconnor)
Attachment #229907 -
Flags: review?(mconnor)
Comment 16•18 years ago
|
||
Comment on attachment 229907 [details] [diff] [review] Add support for importing HTTP auth passwords from IE Good work, thanks!
Attachment #229907 -
Flags: superreview?(mconnor)
Attachment #229907 -
Flags: review?(mconnor)
Attachment #229907 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [patch ready] → [checkin needed]
Comment 17•18 years ago
|
||
Checking in nsIEProfileMigrator.cpp; /cvsroot/mozilla/browser/components/migration/src/nsIEProfileMigrator.cpp,v <-- nsIEProfileMigrator.cpp new revision: 1.40; previous revision: 1.39 done Checking in nsIEProfileMigrator.h; /cvsroot/mozilla/browser/components/migration/src/nsIEProfileMigrator.h,v <-- nsIEProfileMigrator.h new revision: 1.6; previous revision: 1.5 done Checked into trunk.
Status: NEW → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Assignee | ||
Comment 18•18 years ago
|
||
Comment on attachment 229907 [details] [diff] [review] Add support for importing HTTP auth passwords from IE This should be fairly safe, and it improves the migration experience quite a lot for users who save http authentication passwords.
Attachment #229907 -
Flags: approval1.8.1?
Comment 19•18 years ago
|
||
Comment on attachment 229907 [details] [diff] [review] Add support for importing HTTP auth passwords from IE a=drivers. Please land on the MOZILLA_1_8_BRANCH.
Attachment #229907 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [checkin needed (1.8 branch)]
Comment 20•18 years ago
|
||
mozilla/browser/components/migration/src/nsIEProfileMigrator.cpp 1.29.4.10 mozilla/browser/components/migration/src/nsIEProfileMigrator.h 1.4.18.2
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch)]
Comment 21•18 years ago
|
||
Comment on attachment 229907 [details] [diff] [review] Add support for importing HTTP auth passwords from IE >+ nsAutoString tmp(itemName); >+ tmp.Truncate(6); >+ if (tmp.Equals(NS_LITERAL_STRING("DPAPI:"))) // often FTP logins if (tmp.EqualsLiteral("DPAPI:")) >+ if (idx) { >+ realm.Replace(idx, 1, NS_LITERAL_STRING(" (")); >+ realm.Append(NS_LITERAL_STRING(")")); realm.AppendLiteral(")"); >+ pwmgr->AddUser(NS_ConvertUTF16toUTF8(realm), >+ NS_ConvertUTF8toUTF16((char *)data), >+ NS_ConvertUTF8toUTF16((char *)password)); Are 'data' and 'password' in UTF-8? I doubt they're. If they're always in ASCII, NS_ConvertASCIItoUTF16 should be used instead. If they're in the default system codepage and contain characters outside the ASCII, they should be converted using NS_CopyNativeToUnicode.
Comment 22•18 years ago
|
||
(In reply to comment #21) I'll fix issues raised in the previous comment in bug 352365 along with other similar problems in IE profile migrator.
Comment 23•18 years ago
|
||
sorry for bug spam.
You need to log in
before you can comment on or make changes to this bug.
Description
•