Helpviewer/History/HistoryManager.py

changeset 2118
5fcae472551b
parent 2095
5bf2d8a73173
child 2302
f29e9405c851
--- a/Helpviewer/History/HistoryManager.py	Sat Oct 06 19:07:48 2012 +0200
+++ b/Helpviewer/History/HistoryManager.py	Sat Oct 06 19:36:53 2012 +0200
@@ -212,7 +212,9 @@
         """
         cleanurl = QUrl(url)
         if cleanurl.scheme() not in ["eric", "about"]:
-            cleanurl.setPassword("")
+            if cleanurl.password():
+                # don't save the password in the history
+                cleanurl.setPassword("")
             if cleanurl.host():
                 cleanurl.setHost(cleanurl.host().lower())
             itm = HistoryEntry(cleanurl.toString(), QDateTime.currentDateTime())

eric ide

mercurial