Fix attachment filename handling

Currently filenames containing '#' are not correctly escaped, which
prevents to open attachments. This resolves issue #119.

Signed-off-by: pschwabauer <pschwabauer@intevation.de>
(cherry picked from commit 8c541bef93)
r14.1.x
pschwabauer 10 months ago committed by Slávek Banko
parent f643155103
commit 622ea70bfc
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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();
}

Loading…
Cancel
Save