mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Additional precautions against #353
This commit is contained in:
parent
7790058bbe
commit
566fbc9cde
@ -34,9 +34,7 @@ public class NewNickActionProcessor extends PlayerProcessor {
|
||||
public void process() {
|
||||
UUID uuid = getUUID();
|
||||
|
||||
String n = HtmlUtils.swapColorsToSpan(displayName);
|
||||
|
||||
String info = HtmlUtils.removeXSS(n);
|
||||
String info = HtmlUtils.removeXSS(displayName);
|
||||
|
||||
Action action = new Action(MiscUtils.getTime(), Actions.NEW_NICKNAME, info);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user