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

List:       kde-commits
Subject:    kdelibs/khtml/html
From:       Mario Weilguni <mweilguni () sime ! com>
Date:       2005-03-08 7:11:44
Message-ID: 20050308071144.79D71103CB () office ! kde ! org
[Download RAW message or body]

CVS commit by mario: 

BUGS:100042
If an <input type="image" has a value, the value will be submitted as well, not
only coordinates


  M +5 -0      html_formimpl.cpp   1.426


--- kdelibs/khtml/html/html_formimpl.cpp  #1.425:1.426
@@ -1482,4 +1482,9 @@ bool HTMLInputElementImpl::encoding(cons
                 astr.setNum(KMAX( clickY(), 0 ) );
                 encoding += fixUpfromUnicode(codec, astr);
+                astr = value().string();
+                if(astr.length() > 0) {
+                    encoding += fixUpfromUnicode(codec, nme);
+                    encoding += fixUpfromUnicode(codec, astr);
+                }
 
                 return true;


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

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