diff options
author | pschwabauer <[email protected]> | 2024-04-15 14:22:21 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2024-04-30 16:59:25 +0200 |
commit | 622ea70bfc5b4821d810e5c310a71d1a465b5a88 (patch) | |
tree | b00c171243448dcc2090756a8f1827fb45f48d29 /kmail/kmreaderwin.cpp | |
parent | f64315510352b4c3e9fa0809619792cfafd8c7e5 (diff) | |
download | tdepim-622ea70bfc5b4821d810e5c310a71d1a465b5a88.tar.gz tdepim-622ea70bfc5b4821d810e5c310a71d1a465b5a88.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]>
(cherry picked from commit 8c541bef9340e210e31eeb62e572b75ffcdd0b4a)
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(); } |