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

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:55:48 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 5f347714d1b52fe5621db44b60c9139700a8c11c
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Feb 18 19:37:59 2002 +0000

    Fixed simple bug that broke forms.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@633 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/kwq/KWQKURL.mm b/WebCore/kwq/KWQKURL.mm
index 1d2869c..81a33de 100644
--- a/WebCore/kwq/KWQKURL.mm
+++ b/WebCore/kwq/KWQKURL.mm
@@ -431,10 +431,13 @@ void KURL::setRef(const QString &s)
     d->compose();
 }
 
-void KURL::setQuery(const QString &s, int encoding_hint=0)
+void KURL::setQuery(const QString &_txt, int encoding_hint=0)
 {
     copyOnWrite();
-    d->sQuery = s;
+   if (_txt.length() && (_txt[0] !='?'))
+      d->sQuery = "?" + _txt;
+   else
+      d->sQuery = _txt;
     d->compose();
 }
 
diff --git a/WebCore/src/kwq/KWQKURL.mm b/WebCore/src/kwq/KWQKURL.mm
index 1d2869c..81a33de 100644
--- a/WebCore/src/kwq/KWQKURL.mm
+++ b/WebCore/src/kwq/KWQKURL.mm
@@ -431,10 +431,13 @@ void KURL::setRef(const QString &s)
     d->compose();
 }
 
-void KURL::setQuery(const QString &s, int encoding_hint=0)
+void KURL::setQuery(const QString &_txt, int encoding_hint=0)
 {
     copyOnWrite();
-    d->sQuery = s;
+   if (_txt.length() && (_txt[0] !='?'))
+      d->sQuery = "?" + _txt;
+   else
+      d->sQuery = _txt;
     d->compose();
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list