<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>132678</bug_id>
          
          <creation_ts>2006-08-20 10:26:59 +0000</creation_ts>
          <short_desc>JJ: Right mouse click - search at google - ampersand issue.</short_desc>
          <delta_ts>2008-03-04 18:57:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nick Warne">nick</reporter>
          <assigned_to name="Stephan Kulow">coolo</assigned_to>
          <cc>esigra</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>461763</commentid>
    <comment_count>0</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-20 10:26:59 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.4)
Installed from:    Compiled From Sources
Compiler:          GCC 3.4.6 -march=athlon-tbird
OS:                Linux

When highlighting text, right mouse click -&gt; search at google, if the text selected contains and ampersand, the text passed (parsed) for input is cut off at the ampersand;  Select the text below, right mouse click -&gt; search at google:

KDE &amp; Konqueror

KDE&amp;Konqueror

Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462062</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-08-21 13:51:56 +0000</bug_when>
    <thetext>The &amp; is not converted to %26, but copied as is.

This works for other searching places in konqueror, so it seems related to the rightclick search only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462067</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-08-21 14:34:25 +0000</bug_when>
    <thetext>The error probably is in kdelibs/khtml/khtml_ext.cpp:

KHTMLPopupGUIClient::KHTMLPopupGUIClient (near line 400).

a) The search text cannot be taken into the menu as is.
   1) Selecting &amp; in text results in interpretation as hotkey.
   2) Selecting e.g. the text %26 above results in wrong text building, as
      %2 is interpreted as printf style marker
b) Finally URL encoding seems to be missing.

P.S. Sorry, but I&apos;m not willing to debug kdelibs ATM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462113</commentid>
    <comment_count>3</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-21 19:11:27 +0000</bug_when>
    <thetext>OK, thanks for looking at this.

I got it so the &apos;menu&apos; entry reads correct, but the stringe is still passed wrongly:

kdelibs/khtml/khtml_ext.cpp around line 444

      // search text
      QString selectedText = khtml-&gt;selectedText();
      +selectedText.replace(&quot;&amp;&quot;, &quot;&amp;&amp;&quot;);
      if ( selectedText.length()&gt;18 ) {
        selectedText.truncate(15);
        selectedText+=&quot;...&quot;;
      }


But it&apos;s no big deal anyway... be just nice to fix next time around.

Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462291</commentid>
    <comment_count>4</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-08-22 12:17:19 +0000</bug_when>
    <thetext>Marked as Junior Job. I think this should be pretty easy to fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463687</commentid>
    <comment_count>5</comment_count>
    <who name="William Entriken">kde.org</who>
    <bug_when>2006-08-27 17:47:39 +0000</bug_when>
    <thetext>---------- Forwarded message ----------
From: Will Entriken &lt;kde.org@phor.net&gt;
Date: Aug 27, 2006 11:46 AM
Subject: [patch] bug 132678
To: 132678@bugzilla.kde.org, kde-devel &lt;kde-devel@kde.org&gt;


I think I fixed this bug. It seems like there is a mix of escaped and
unescaped query strings, this fixes that.

I would commit this patch myself, but it could takes days for my
working copy to compile. Updating and compiling really sucks.


Created an attachment (id=17521)
132678.patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463690</commentid>
    <comment_count>6</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-27 18:17:03 +0000</bug_when>
    <thetext>I can&apos;t this to build:

khtml_ext.cpp: In member function `void KHTMLPartBrowserExtension::searchProvider()&apos;:
khtml_ext.cpp:276: error: incomplete type `QUrl&apos; used in nested name specifier
make[1]: *** [libkhtml_la.all_cpp.lo] Error 1
make[1]: Leaving directory `/home/hdb/kde_build/konstruct/kde/kdelibs/work/kdelibs-3.5.4/khtml&apos;

Nick ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463701</commentid>
    <comment_count>7</comment_count>
    <who name="William Entriken">kde.org</who>
    <bug_when>2006-08-27 18:50:07 +0000</bug_when>
    <thetext>SVN commit 577831 by entriken:

CCBUG: 132678

It worksforme, but this patch may fix Nick&apos;s problem at:
http://bugs.kde.org/show_bug.cgi?id=132678#c6



 M  +1 -0      khtml_ext.cpp  


--- trunk/KDE/kdelibs/khtml/khtml_ext.cpp #577830:577831
@@ -38,6 +38,7 @@
 #include &lt;qclipboard.h&gt;
 #include &lt;qfileinfo.h&gt;
 #include &lt;qmenu.h&gt;
+#include &lt;qurl.h&gt;
 #include &lt;qmetaobject.h&gt;
 
 #include &lt;kdebug.h&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463703</commentid>
    <comment_count>8</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-27 18:57:57 +0000</bug_when>
    <thetext>I don&apos;t even have the same headers included in khtml_ext.cpp (3.5.4):

#include &quot;html/html_imageimpl.h&quot;
#include &quot;misc/loader.h&quot;
#include &quot;dom/html_form.h&quot;
#include &quot;dom/html_image.h&quot;
#include &lt;qclipboard.h&gt;
#include &lt;qfileinfo.h&gt;
#include &lt;qpopupmenu.h&gt; ????????????
#include &lt;qmetaobject.h&gt;
#include &lt;private/qucomextra_p.h&gt;
#include &lt;qdragobject.h&gt;

#include &lt;kdebug.h&gt;
#include &lt;klocale.h&gt;
#include &lt;kfiledialog.h&gt;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463707</commentid>
    <comment_count>9</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-27 19:14:35 +0000</bug_when>
    <thetext>OK, if I do add in the additional qurl.h header, I get a different build issue:

In file included from libkhtml_la.all_cpp.cpp:7:
khtml_ext.cpp: In member function `void KHTMLPartBrowserExtension::searchProvider()&apos;:
khtml_ext.cpp:277: error: `toPercentEncoding&apos; is not a member of `QUrl&apos;
make[1]: *** [libkhtml_la.all_cpp.lo] Error 1
make[1]: Leaving directory `/home/hdb/kde_build/konstruct/kde/kdelibs/work/kdelibs-3.5.4/khtml&apos;


Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463711</commentid>
    <comment_count>10</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-27 19:56:43 +0000</bug_when>
    <thetext>BUGGER ME!

I fixed this patch.  After reading QT docs, and reading build errors:

 #include &lt;qclipboard.h&gt; 
  #include &lt;qfileinfo.h&gt; 
  #include &lt;qmenu.h&gt; 
 +#include &lt;qurl.h&gt; 
  #include &lt;qmetaobject.h&gt; 

    if( !KURIFilter::self()-&gt;filterURI(data, list) )
    {
        KDesktopFile file(&quot;searchproviders/google.desktop&quot;, true, &quot;services&quot;);
+        QString encodedSearchTerm = m_part-&gt;selectedText();
+        QUrl::encode(encodedSearchTerm);
        data.setData(file.readEntry(&quot;Query&quot;).replace(&quot;\\{@}&quot;, encodedSearchTerm));

      // search text 
       QString selectedText = khtml-&gt;selectedText(); 
       +selectedText.replace(&quot;&amp;&quot;, &quot;&amp;&amp;&quot;); 
       if ( selectedText.length()&gt;18 ) { 
         selectedText.truncate(15); 
         selectedText+=&quot;...&quot;; 
       } 
 
I apologise for not submitting a proper patch...

Thanks, Will !

Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>463847</commentid>
    <comment_count>11</comment_count>
      <attachid>17524</attachid>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-08-28 10:36:38 +0000</bug_when>
    <thetext>Created attachment 17524
Patch against KDE3.5.4 khtml_ext.cpp

This works fine... patch attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>465156</commentid>
    <comment_count>12</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-08-31 08:32:02 +0000</bug_when>
    <thetext>SVN commit 579136 by stoecker:

CCBUG: 132678
Backport of Google search encoding fix for KDE 3.5 by Nick Warne.


 M  +5 -1      khtml_ext.cpp  


--- branches/KDE/3.5/kdelibs/khtml/khtml_ext.cpp #579135:579136
@@ -38,6 +38,7 @@
 #include &lt;qclipboard.h&gt;
 #include &lt;qfileinfo.h&gt;
 #include &lt;qpopupmenu.h&gt;
+#include &lt;qurl.h&gt;
 #include &lt;qmetaobject.h&gt;
 #include &lt;private/qucomextra_p.h&gt;
 #include &lt;qdragobject.h&gt;
@@ -273,7 +274,9 @@
     if( !KURIFilter::self()-&gt;filterURI(data, list) )
     {
         KDesktopFile file(&quot;searchproviders/google.desktop&quot;, true, &quot;services&quot;);
-        data.setData(file.readEntry(&quot;Query&quot;).replace(&quot;\\{@}&quot;, m_part-&gt;selectedText()));
+	QString encodedSearchTerm = m_part-&gt;selectedText();
+	QUrl::encode(encodedSearchTerm);
+	data.setData(file.readEntry(&quot;Query&quot;).replace(&quot;\\{@}&quot;, encodedSearchTerm));
     }
 
     KParts::URLArgs args;
@@ -441,6 +444,7 @@
 
       // search text
       QString selectedText = khtml-&gt;selectedText();
+      selectedText.replace(&quot;&amp;&quot;, &quot;&amp;&amp;&quot;);
       if ( selectedText.length()&gt;18 ) {
         selectedText.truncate(15);
         selectedText+=&quot;...&quot;;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>467995</commentid>
    <comment_count>13</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-09-08 18:32:03 +0000</bug_when>
    <thetext>The reported bug is fixed, but selecting &quot;test%2&quot; still results in an error based  on the i18n functionality. Needs to be fixed as well. May also be a QT bug.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>468213</commentid>
    <comment_count>14</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-09-09 10:56:35 +0000</bug_when>
    <thetext>Ummm, yes - %1 (or %10, %11 etc.) breaks this also.  I think the offending line is 480:


     new KAction( i18n( &quot;Search &apos;%1&apos; at %2&quot; ).arg( selectedText ).arg( name ), icon, 0, d-&gt;m_khtml-&gt;browserExtension(),
                     SLOT( searchProvider() ), actionCollection(), &quot;searchProvider&quot; );


Starting to get deep...

Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>468270</commentid>
    <comment_count>15</comment_count>
      <attachid>17681</attachid>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-09-09 13:24:38 +0000</bug_when>
    <thetext>Created attachment 17681
Dirty hack to fix the percent issues

.
Real dirty hack to fix this percent issue - I think to fix this properly, a lot
of diving into the code needs to done.	I can&apos;t see how both %1 and %2 get
&apos;parsed&apos; as argv in new Kaction if present in SelectedText?

-      new KAction( i18n( &quot;Search &apos;%1&apos; at %2&quot; ).arg( selectedText ).arg( name
), icon, 0, d-&gt;m_khtml-&gt;browserExtension(),
+      // Dirty hack to stop %1 and %2 being being somehow parsed as argv in
new Kaction when
+      // appearing in SelectedText - see bug 132678
+      QString selectedTextandName = &quot;&apos;&quot; + selectedText + &quot;&apos; at &quot; + name;
+      //new KAction( i18n( &quot;Search &apos;%1&apos; at %2&quot; ).arg( selectedText ).arg( name
), icon, 0, d-&gt;m_khtml-&gt;browserExtension(),
+      new KAction( i18n( &quot;Search %1&quot; ).arg( selectedTextandName ), icon, 0,
d-&gt;m_khtml-&gt;browserExtension(),
		      SLOT( searchProvider() ), actionCollection(),
&quot;searchProvider&quot; );

Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>468289</commentid>
    <comment_count>16</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-09-09 15:21:27 +0000</bug_when>
    <thetext>Actually, this is a very deep issue.

%26 %27 %28

Will appear correct now in right mouse click menu, but actual data sent to google (etc.) is the encoded characters [ &amp; &apos; (  ].

So, with the two patches I supplied, it is better and partially fixed, but this underlying issue runs deep.

Nick</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>468803</commentid>
    <comment_count>17</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-09-10 22:42:44 +0000</bug_when>
    <thetext>Sorry Nick, this does not work. The types %1 and %2 are used, because other languages may require other orders of the arguments.

The problem here is that for i18n(&quot;Hello %1 %2&quot;).arg(x1).arg(x2) the parsing should not reparse the included text (x1) when scanning for %2.

Actually it is a QT bug and I will report it there and close this one.

#include &lt;QApplication&gt;
#include &lt;QPushButton&gt;
int main(int argc, char *argv[])
{
  QApplication app(argc, argv);
  QPushButton hello(QString(&quot;1:%1 2:%2 3:%3&quot;).arg(&quot;%1&quot;).arg(&quot;%2&quot;).arg(&quot;test3&quot;));
  hello.resize(200, 50);
  hello.show();
  return app.exec();
}

Resolving as fixed, as the main bug report has been fulfilled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>469666</commentid>
    <comment_count>18</comment_count>
    <who name="Dirk Stoecker">kde</who>
    <bug_when>2006-09-13 21:54:05 +0000</bug_when>
    <thetext>SVN commit 583923 by stoecker:

Fixed text error for certain selected texts.

CCBUG: 132678


 M  +2 -1      khtml_ext.cpp  


--- branches/KDE/3.5/kdelibs/khtml/khtml_ext.cpp #583922:583923
@@ -476,7 +476,8 @@
         name = &quot;Google&quot;;
       }
 
-      new KAction( i18n( &quot;Search for &apos;%1&apos; with %2&quot; ).arg( selectedText ).arg( name ), icon, 0, d-&gt;m_khtml-&gt;browserExtension(),
+      // using .arg(foo, bar) instead of .arg(foo).arg(bar), as foo can contain %x
+      new KAction( i18n( &quot;Search for &apos;%1&apos; with %2&quot; ).arg( selectedText, name ), icon, 0, d-&gt;m_khtml-&gt;browserExtension(),
                      SLOT( searchProvider() ), actionCollection(), &quot;searchProvider&quot; );
 
       // favorite search providers
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>469676</commentid>
    <comment_count>19</comment_count>
    <who name="Nick Warne">nick</who>
    <bug_when>2006-09-13 22:22:51 +0000</bug_when>
    <thetext>Hi Dirk,

Heh... so simple a fix.

Thanks, all appears to work as it should here!

Good job!

Nick</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>17521</attachid>
            <date>2006-08-27 17:47:39 +0000</date>
            <delta_ts>2006-08-27 17:47:39 +0000</delta_ts>
            <desc>132678.patch</desc>
            <filename>132678.patch</filename>
            <type>application/octet-stream</type>
            <size>869</size>
            <attacher name="William Entriken">kde.org</attacher>
            
              <data encoding="base64">SW5kZXg6IGtodG1sL2todG1sX2V4dC5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0ga2h0bWwva2h0bWxfZXh0
LmNwcAkocmV2aXNpb24gNTc3NTM5KQorKysga2h0bWwva2h0bWxfZXh0LmNwcAkod29ya2luZyBj
b3B5KQpAQCAtMjcwLDcgKzI3MCw4IEBACiAgICAgaWYoICFLVVJJRmlsdGVyOjpzZWxmKCktPmZp
bHRlclVSSShkYXRhLCBsaXN0KSApCiAgICAgewogICAgICAgICBLRGVza3RvcEZpbGUgZmlsZSgi
c2VhcmNocHJvdmlkZXJzL2dvb2dsZS5kZXNrdG9wIiwgdHJ1ZSwgInNlcnZpY2VzIik7Ci0gICAg
ICAgIGRhdGEuc2V0RGF0YShmaWxlLnJlYWRFbnRyeSgiUXVlcnkiKS5yZXBsYWNlKCJcXHtAfSIs
IG1fcGFydC0+c2VsZWN0ZWRUZXh0KCkpKTsKKyAgICAgICAgUVN0cmluZyBlbmNvZGVkU2VhcmNo
VGVybSA9IFFVcmw6OnRvUGVyY2VudEVuY29kaW5nKG1fcGFydC0+c2VsZWN0ZWRUZXh0KCkpOwor
CWRhdGEuc2V0RGF0YShmaWxlLnJlYWRFbnRyeSgiUXVlcnkiKS5yZXBsYWNlKCJcXHtAfSIsIGVu
Y29kZWRTZWFyY2hUZXJtKSk7CiAgICAgfQogCiAgICAgS1BhcnRzOjpVUkxBcmdzIGFyZ3M7CkBA
IC00MzYsNiArNDM3LDcgQEAKIAogICAgICAgLy8gc2VhcmNoIHRleHQKICAgICAgIFFTdHJpbmcg
c2VsZWN0ZWRUZXh0ID0ga2h0bWwtPnNlbGVjdGVkVGV4dCgpOworICAgICAgc2VsZWN0ZWRUZXh0
LnJlcGxhY2UoIiYiLCAiJiYiKTsKICAgICAgIGlmICggc2VsZWN0ZWRUZXh0Lmxlbmd0aCgpPjE4
ICkgewogICAgICAgICBzZWxlY3RlZFRleHQudHJ1bmNhdGUoMTUpOwogICAgICAgICBzZWxlY3Rl
ZFRleHQrPSIuLi4iOwo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>17524</attachid>
            <date>2006-08-28 10:36:38 +0000</date>
            <delta_ts>2006-08-28 10:36:38 +0000</delta_ts>
            <desc>Patch against KDE3.5.4 khtml_ext.cpp</desc>
            <filename>khtml_ext.patch</filename>
            <type>text/plain</type>
            <size>1006</size>
            <attacher name="Nick Warne">nick</attacher>
            
              <data encoding="base64">LS0tIGtodG1sX2V4dC5jcHBPUklHCTIwMDYtMDgtMjcgMTc6MTI6MTMuMDAwMDAwMDAwICswMTAw
CisrKyBraHRtbF9leHQuY3BwCTIwMDYtMDgtMjggMDk6MzM6MjcuMDAwMDAwMDAwICswMTAwCkBA
IC0zOCw2ICszOCw3IEBACiAjaW5jbHVkZSA8cWNsaXBib2FyZC5oPgogI2luY2x1ZGUgPHFmaWxl
aW5mby5oPgogI2luY2x1ZGUgPHFwb3B1cG1lbnUuaD4KKyNpbmNsdWRlIDxxdXJsLmg+CiAjaW5j
bHVkZSA8cW1ldGFvYmplY3QuaD4KICNpbmNsdWRlIDxwcml2YXRlL3F1Y29tZXh0cmFfcC5oPgog
I2luY2x1ZGUgPHFkcmFnb2JqZWN0Lmg+CkBAIC0yNzMsNyArMjc0LDkgQEAKICAgICBpZiggIUtV
UklGaWx0ZXI6OnNlbGYoKS0+ZmlsdGVyVVJJKGRhdGEsIGxpc3QpICkKICAgICB7CiAgICAgICAg
IEtEZXNrdG9wRmlsZSBmaWxlKCJzZWFyY2hwcm92aWRlcnMvZ29vZ2xlLmRlc2t0b3AiLCB0cnVl
LCAic2VydmljZXMiKTsKLSAgICAgICAgZGF0YS5zZXREYXRhKGZpbGUucmVhZEVudHJ5KCJRdWVy
eSIpLnJlcGxhY2UoIlxce0B9IiwgbV9wYXJ0LT5zZWxlY3RlZFRleHQoKSkpOworCVFTdHJpbmcg
ZW5jb2RlZFNlYXJjaFRlcm0gPSBtX3BhcnQtPnNlbGVjdGVkVGV4dCgpOworCVFVcmw6OmVuY29k
ZShlbmNvZGVkU2VhcmNoVGVybSk7CisJZGF0YS5zZXREYXRhKGZpbGUucmVhZEVudHJ5KCJRdWVy
eSIpLnJlcGxhY2UoIlxce0B9IiwgZW5jb2RlZFNlYXJjaFRlcm0pKTsKICAgICB9CiAKICAgICBL
UGFydHM6OlVSTEFyZ3MgYXJnczsKQEAgLTQ0MSw2ICs0NDQsNyBAQAogCiAgICAgICAvLyBzZWFy
Y2ggdGV4dAogICAgICAgUVN0cmluZyBzZWxlY3RlZFRleHQgPSBraHRtbC0+c2VsZWN0ZWRUZXh0
KCk7CisgICAgICBzZWxlY3RlZFRleHQucmVwbGFjZSgiJiIsICImJiIpOwogICAgICAgaWYgKCBz
ZWxlY3RlZFRleHQubGVuZ3RoKCk+MTggKSB7CiAgICAgICAgIHNlbGVjdGVkVGV4dC50cnVuY2F0
ZSgxNSk7CiAgICAgICAgIHNlbGVjdGVkVGV4dCs9Ii4uLiI7Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>17681</attachid>
            <date>2006-09-09 13:24:38 +0000</date>
            <delta_ts>2006-09-09 13:24:38 +0000</delta_ts>
            <desc>Dirty hack to fix the percent issues</desc>
            <filename>khtml_ext_percent.patch</filename>
            <type>text/plain</type>
            <size>873</size>
            <attacher name="Nick Warne">nick</attacher>
            
              <data encoding="base64">LS0tIGtodG1sX2V4dC5jcHBPUklHcAkyMDA2LTA5LTA5IDA4OjE1OjA0LjAwMDAwMDAwMCArMDEw
MAorKysga2h0bWxfZXh0LmNwcAkyMDA2LTA5LTA5IDEyOjE1OjU1LjAwMDAwMDAwMCArMDEwMApA
QCAtNDc2LDcgKzQ3NiwxMSBAQAogICAgICAgICBuYW1lID0gIkdvb2dsZSI7CiAgICAgICB9CiAK
LSAgICAgIG5ldyBLQWN0aW9uKCBpMThuKCAiU2VhcmNoICclMScgYXQgJTIiICkuYXJnKCBzZWxl
Y3RlZFRleHQgKS5hcmcoIG5hbWUgKSwgaWNvbiwgMCwgZC0+bV9raHRtbC0+YnJvd3NlckV4dGVu
c2lvbigpLAorICAgICAgLy8gRGlydHkgaGFjayB0byBzdG9wICUxIGFuZCAlMiBiZWluZyBiZWlu
ZyBzb21laG93IHBhcnNlZCBhcyBhcmd2IGluIG5ldyBLYWN0aW9uIHdoZW4KKyAgICAgIC8vIGFw
cGVhcmluZyBpbiBTZWxlY3RlZFRleHQgLSBzZWUgYnVnIDEzMjY3OAorICAgICAgUVN0cmluZyBz
ZWxlY3RlZFRleHRhbmROYW1lID0gIiciICsgc2VsZWN0ZWRUZXh0ICsgIicgYXQgIiArIG5hbWU7
CisgICAgICAvL25ldyBLQWN0aW9uKCBpMThuKCAiU2VhcmNoICclMScgYXQgJTIiICkuYXJnKCBz
ZWxlY3RlZFRleHQgKS5hcmcoIG5hbWUgKSwgaWNvbiwgMCwgZC0+bV9raHRtbC0+YnJvd3NlckV4
dGVuc2lvbigpLAorICAgICAgbmV3IEtBY3Rpb24oIGkxOG4oICJTZWFyY2ggJTEiICkuYXJnKCBz
ZWxlY3RlZFRleHRhbmROYW1lICksIGljb24sIDAsIGQtPm1fa2h0bWwtPmJyb3dzZXJFeHRlbnNp
b24oKSwKICAgICAgICAgICAgICAgICAgICAgIFNMT1QoIHNlYXJjaFByb3ZpZGVyKCkgKSwgYWN0
aW9uQ29sbGVjdGlvbigpLCAic2VhcmNoUHJvdmlkZXIiICk7CiAKICAgICAgIC8vIGZhdm9yaXRl
IHNlYXJjaCBwcm92aWRlcnMK
</data>

          </attachment>
      

    </bug>

</bugzilla>