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>
pull/120/head
pschwabauer 1 month ago
parent 1d22724f2e
commit 8c541bef93
No known key found for this signature in database
GPG Key ID: 1244FE1E8FBB313B

@ -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