From 80a96df755425ff86229fb89fb81b7c8fc122674 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 18 Sep 2010 14:50:43 +0000 Subject: implemented escaping for event handler parameters; please double check your scripts against this change and report any incompatibility! git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5014 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/http/httpfiletransfer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/http/httpfiletransfer.cpp') diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp index 6ad900741..5205c42e2 100644 --- a/src/modules/http/httpfiletransfer.cpp +++ b/src/modules/http/httpfiletransfer.cpp @@ -419,9 +419,9 @@ void KviHttpFileTransfer::transferTerminated(bool bSuccess) m_tTransferEndTime = kvi_unixTime(); KviKvsVariantList vParams; - vParams.append(new KviKvsVariant(bSuccess)); - vParams.append(new KviKvsVariant(m_pHttpRequest->url().url())); - vParams.append(new KviKvsVariant(m_pHttpRequest->fileName())); + vParams.append(bSuccess); + vParams.append(new KviKvsVariant(m_pHttpRequest->url().url(), true)); + vParams.append(new KviKvsVariant(m_pHttpRequest->fileName(), true)); vParams.append(new KviKvsVariant(m_vMagicIdentifier)); if(m_szCompletionCallback.isNull()) -- cgit v1.3.1-10-gc9f91