Fixed a critical XSS vulnerability

main
Inga 🏳‍🌈 13 years ago
parent 19a29f8fb1
commit 2c65eb4bae
  1. 4
      FLocal.Common/BBCodes/helpers/BBCode.cs

@ -28,7 +28,7 @@ namespace FLocal.Common.BBCodes {
if(result == null || result == "") {
return null;
}
return result;
return this.Safe(result);
}
}
@ -36,7 +36,7 @@ namespace FLocal.Common.BBCodes {
get {
string result = this.Default;
if(result == null) {
result = this.InnerText;
result = this.Safe(this.InnerText);
}
return result;
}

Loading…
Cancel
Save