mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-12 16:21:28 +00:00
Fix doubly sanitized strings (#727)
* Add migration to de-sanitize database strings * Remove SanitizationHelper functions related to XML sanitization * Remove sanitization usage from website * Implement suggested changes
This commit is contained in:
parent
f5c8f53437
commit
50d1d9c7e5
12 changed files with 26 additions and 66 deletions
|
@ -72,8 +72,6 @@ public class UserController : ControllerBase
|
|||
|
||||
if (update == null) return this.BadRequest();
|
||||
|
||||
SanitizationHelper.SanitizeStringsInClass(update);
|
||||
|
||||
if (update.Biography != null)
|
||||
{
|
||||
if (update.Biography.Length > 512) return this.BadRequest();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue