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

List:       kde-commits
Subject:    kdenox/konq-embed/src
From:       Stefan Eilers <stefan.eilers () basyskom ! de>
Date:       2008-06-05 10:15:45
Message-ID: 1212660945.837750.16866.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 817132 by eilers:

Improve RFC compliance of mailto implementation.


 M  +6 -1      view.cc  


--- trunk/kdenox/konq-embed/src/view.cc #817131:817132
@@ -78,7 +78,12 @@
 		const QStringList::Iterator itEnd = queries.end();
 		for (; it != itEnd; ++it)
 		{
-		    if ((*it).startsWith(QString::fromLatin1("subject="))){
+		    if ((*it).startsWith(QString::fromLatin1("to="))){
+			if ( !parameters["to"].isEmpty() )
+			    parameters["to"] += ", ";
+			parameters["to"] += KURL::decode_string((*it).mid(3));
+		    }
+		    else if ((*it).startsWith(QString::fromLatin1("subject="))){
 			parameters["subject"] = KURL::decode_string((*it).mid(8));
 		    }
 		    else if ((*it).startsWith(QString::fromLatin1("cc=")))
[prev in list] [next in list] [prev in thread] [next in thread] 

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