diff options
author | pschwabauer <[email protected]> | 2024-04-15 14:22:21 +0200 |
---|---|---|
committer | pschwabauer <[email protected]> | 2024-04-30 09:05:39 +0200 |
commit | 8c541bef9340e210e31eeb62e572b75ffcdd0b4a (patch) | |
tree | 8da7514106cd7f041394444d9496c881c46640d0 /kmail/kmreaderwin.cpp | |
parent | 1d22724f2e1b9568070113c6c825e6f145ae34df (diff) | |
download | tdepim-8c541bef9340e210e31eeb62e572b75ffcdd0b4a.tar.gz tdepim-8c541bef9340e210e31eeb62e572b75ffcdd0b4a.zip |
Fix attachment filename handling
Currently filenames containing '#' are not correctly escaped, which
prevents to open attachments. This resolves issue #119.
Signed-off-by: pschwabauer <[email protected]>
Diffstat (limited to 'kmail/kmreaderwin.cpp')
-rw-r--r-- | kmail/kmreaderwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmreaderwin.cpp b/kmail/kmreaderwin.cpp index d0d78b728..8ada99f40 100644 --- a/kmail/kmreaderwin.cpp +++ b/kmail/kmreaderwin.cpp @@ -2690,7 +2690,7 @@ KURL KMReaderWin::tempFileUrlFromPartNode( const partNode * node ) bool ok; int res = path.mid(left + 1, right - left - 1).toInt(&ok); if ( res == node->nodeId() ) - return KURL( path ); + return KURL::fromPathOrURL( path ); } return KURL(); } |