Change to the web browser to only set an empty password for the URL to be added to the history, if it really has a password.

Sat, 06 Oct 2012 19:36:53 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Oct 2012 19:36:53 +0200
changeset 2118
5fcae472551b
parent 2115
4f685709ad29
child 2120
5aa804491892

Change to the web browser to only set an empty password for the URL to be added to the history, if it really has a password.

Documentation/Help/source.qch file | annotate | diff | comparison | revisions
Helpviewer/History/HistoryManager.py file | annotate | diff | comparison | revisions
Binary file Documentation/Help/source.qch has changed
--- 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