mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
if you write html, then use htmlURL(), otherwise this is vulnerable
to HTML injection. I don't think its relevant though. CCMAIL: security@kde.org svn path=/trunk/kdebase/kfind/; revision=226447
This commit is contained in:
parent
44c6b67274
commit
082f14c623
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ void KfindWindow::saveResults()
|
|||
while(item != NULL)
|
||||
{
|
||||
QString path=((KfFileLVI*)item)->fileitem.url().url();
|
||||
QString pretty=((KfFileLVI*)item)->fileitem.url().prettyURL();
|
||||
QString pretty=((KfFileLVI*)item)->fileitem.url().htmlURL();
|
||||
stream << QString::fromLatin1("<DT><A HREF=\"") << path
|
||||
<< QString::fromLatin1("\">") << pretty
|
||||
<< QString::fromLatin1("</A>\n");
|
||||
|
|
Loading…
Reference in a new issue