[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:03:27 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 674d2c4f8c35c900298b245422e7c0fa0000f8dc
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Oct 20 00:45:54 2003 +0000

            Reviewed by Maciej.
    
            - fixed 3454444 -- contents of mailto form shows up in Mail title instead of body (IE sends mail directly)
    
            * kwq/KWQKURL.mm: (KURL::parse): Changed non-hierarchical code to consider everything
            after a question mark as a query, just the way the hierarchical code does. This makes
            the code that constructs the mailto URL work properly.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5217 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 60d8ea4..e918858 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,13 @@
+2003-10-18  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed 3454444 -- contents of mailto form shows up in Mail title instead of body (IE sends mail directly)
+
+        * kwq/KWQKURL.mm: (KURL::parse): Changed non-hierarchical code to consider everything
+        after a question mark as a query, just the way the hierarchical code does. This makes
+        the code that constructs the mailto URL work properly.
+
 2003-10-18  David Hyatt  <hyatt at apple.com>
 
 	Fix the intrinsic minmax width computation for blocks and XUL boxes to actually check fixed min/max CSS widths.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 60d8ea4..e918858 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,13 @@
+2003-10-18  Darin Adler  <darin at apple.com>
+
+        Reviewed by Maciej.
+
+        - fixed 3454444 -- contents of mailto form shows up in Mail title instead of body (IE sends mail directly)
+
+        * kwq/KWQKURL.mm: (KURL::parse): Changed non-hierarchical code to consider everything
+        after a question mark as a query, just the way the hierarchical code does. This makes
+        the code that constructs the mailto URL work properly.
+
 2003-10-18  David Hyatt  <hyatt at apple.com>
 
 	Fix the intrinsic minmax width computation for blocks and XUL boxes to actually check fixed min/max CSS widths.
diff --git a/WebCore/kwq/KWQKURL.mm b/WebCore/kwq/KWQKURL.mm
index bb21e9d..4e5a45c 100644
--- a/WebCore/kwq/KWQKURL.mm
+++ b/WebCore/kwq/KWQKURL.mm
@@ -1047,11 +1047,16 @@ void KURL::parse(const char *url, const QString *originalString)
     int fragmentEnd;
 
     if (!hierarchical) {
-        while (url[pathEnd] != '\0') {
+        while (url[pathEnd] != '\0' && url[pathEnd] != '?') {
             pathEnd++;
         }
     	queryStart = queryEnd = pathEnd;
-    	fragmentStart = fragmentEnd = pathEnd;
+
+        while (url[queryEnd] != '\0') {
+            queryEnd++;
+        }
+
+    	fragmentStart = fragmentEnd = queryEnd;
     }
     else {
         while (url[pathEnd] != '\0' && url[pathEnd] != '?' && url[pathEnd] != '#') {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list