]> cloud.milkyroute.net Git - dolphin.git/commit
Don't let HTML-like filenames be interpreted as HTML strings
authorFabio D'Urso <fabiodurso@hotmail.it>
Mon, 1 Jul 2013 00:02:21 +0000 (02:02 +0200)
committerFabio D'Urso <fabiodurso@hotmail.it>
Mon, 29 Jul 2013 09:21:55 +0000 (11:21 +0200)
commit29013ed214e3682ce441765b6e295c16724ecf66
treea1ca4a726590a2b8f3b755bce963e463dcffd44c
parent15107c780ccc84d4c7bb33e674b519d692348746
Don't let HTML-like filenames be interpreted as HTML strings

So that filenames that look like HTML don't get fancy-formatted when
we show info about them (i.e. on hover)

This patch fixes the same issue in two places:
 - dolphin, by setting Qt::PlainText on the status bar's label
 - konqueror, by escaping setStatusBarText strings emitted by
   DolphinPart

BUG: 321778
FIXED-IN: 4.11.0
REVIEW: 111746
src/dolphinpart.cpp
src/statusbar/dolphinstatusbar.cpp