Skip to content

Commit

Permalink
лишнее экранирование при правке профиля
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Jan 15, 2025
1 parent 200b514 commit 6fd3b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/ru/org/linux/user/EditRegisterController.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 1998-2024 Linux.org.ru
* Copyright 1998-2025 Linux.org.ru
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -103,7 +103,7 @@ class EditRegisterController(rememberMeServices: RememberMeServices, authenticat
val url = Option(form.getUrl).filter(_.nonEmpty).map(URLUtil.fixURL).orNull
val name = Option(form.getName).filter(_.nonEmpty).map(StringUtil.escapeHtml).orNull
val town = Option(form.getTown).filter(_.nonEmpty).map(StringUtil.escapeHtml).orNull
val info = Option(form.getInfo).filter(_.nonEmpty).map(StringUtil.escapeHtml).orNull
val info = Option(form.getInfo).filter(_.nonEmpty).orNull

ipBlockDao.checkBlockIP(request.getRemoteAddr, errors, currentUser.user)

Expand Down

0 comments on commit 6fd3b94

Please sign in to comment.