mirror of https://github.com/zlatinb/muwire
sanitize profile title in tooltip
parent
deeadf3c42
commit
019ba980f0
|
@ -269,7 +269,7 @@ class SearchTabModel {
|
||||||
icon = new ThumbnailIcon(profileHeader.getThumbNail())
|
icon = new ThumbnailIcon(profileHeader.getThumbNail())
|
||||||
} catch (IOException iox) {}
|
} catch (IOException iox) {}
|
||||||
avatar = icon
|
avatar = icon
|
||||||
profileTitle = profileHeader.getTitle()
|
profileTitle = HTMLSanitizer.sanitize(profileHeader.getTitle())
|
||||||
} else {
|
} else {
|
||||||
avatar = null
|
avatar = null
|
||||||
profileTitle = null
|
profileTitle = null
|
||||||
|
|
Loading…
Reference in New Issue