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

List:       kde-commits
Subject:    kdelibs/khtml/xml
From:       John Tapsell <john.tapsell () kdemail ! net>
Date:       2005-05-02 10:00:54
Message-ID: 20050502100054.F40DA4A6 () office ! kde ! org
[Download RAW message or body]

CVS commit by johnflux: 

Fix bug mentioned in 71476.
Basically when you select some text and copy to the clipboard, the text/html version \
of it has the url's sanitized - i.e. the password is stripped out.  In the process of \
converting to a url and back to a string I forgot to htmlized the result, resulting \
in invalid html.

Sorry phantomsdad :)

BUG:


  M +1 -1      dom_elementimpl.cpp   1.208


--- kdelibs/khtml/xml/dom_elementimpl.cpp  #1.207:1.208
@@ -685,5 +685,5 @@ DOMString ElementImpl::openTagStartToStr
                             KURL \
safeURL(getDocument()->completeURL(attribute->value().string()));  \
                safeURL.setPass(QString::null);
-                            result += safeURL.url();
+                            result += safeURL.htmlURL();
                         }
                         else {


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

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