1.1 --- a/src/main/webapp/WEB-INF/jsp/project-form.jsp Fri May 22 17:26:27 2020 +0200 1.2 +++ b/src/main/webapp/WEB-INF/jsp/project-form.jsp Fri May 22 21:23:57 2020 +0200 1.3 @@ -43,15 +43,15 @@ 1.4 <tbody> 1.5 <tr> 1.6 <th><fmt:message key="thead.name"/></th> 1.7 - <td><input name="name" type="text" maxlength="20" required value="${project.name}"/></td> 1.8 + <td><input name="name" type="text" maxlength="20" required value="<c:out value="${project.name}"/>" /></td> 1.9 </tr> 1.10 <tr> 1.11 <th class="vtop"><fmt:message key="thead.description"/></th> 1.12 - <td><input type="text" name="description" maxlength="200" value="${project.description}"/></td> 1.13 + <td><input type="text" name="description" maxlength="200" value="<c:out value="${project.description}"/>" /></td> 1.14 </tr> 1.15 <tr> 1.16 <th><fmt:message key="thead.repoUrl"/></th> 1.17 - <td><input name="repoUrl" type="url" maxlength="50" value="${project.repoUrl}"/></td> 1.18 + <td><input name="repoUrl" type="url" maxlength="50" value="<c:out value="${project.repoUrl}"/>" /></td> 1.19 </tr> 1.20 <tr> 1.21 <th><fmt:message key="thead.owner"/></th> 1.22 @@ -60,7 +60,7 @@ 1.23 <option value="-1"><fmt:message key="placeholder.null-owner"/></option> 1.24 <c:forEach var="user" items="${users}"> 1.25 <option 1.26 - <c:if test="${not empty project.owner and user.id eq project.owner.id}">selected</c:if> 1.27 + <c:if test="${not empty project.owner and user eq project.owner}">selected</c:if> 1.28 value="${user.id}"><c:out value="${user.displayname}"/></option> 1.29 </c:forEach> 1.30 </select>