[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/html
From:       George Staikos <staikos () kde ! org>
Date:       2004-11-06 15:30:06
Message-ID: 20041106153006.75D0216DEC () office ! kde ! org
[Download RAW message or body]

CVS commit by staikos: 

even more retarded ideas worked around - query strings starting with such
brilliant ideas as "!" and ",".
BUG: 92635


  M +3 -2      html_formimpl.cpp   1.403


--- kdelibs/khtml/html/html_formimpl.cpp  #1.402:1.403
@@ -413,5 +413,6 @@ static QString calculateAutoFillKey(cons
     // by saving passwords under wrong lookup key.
     const QString name = e.getAttribute(ATTR_NAME).string().stripWhiteSpace();
-    const QStringList url = QStringList::split(';', k.url());
+    const QRegExp re("[;,!]");
+    const QStringList url = QStringList::split(re, k.url());
     return url[0] + '#' + name;
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic