Commit 3e84d04c authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Unescape jids for user-delete and user-password.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5374 b35dd754-fafc-0310-a699-88a17e54d16e
parent e7126f26
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<p> <p>
<fmt:message key="user.delete.info" /> <fmt:message key="user.delete.info" />
<b><a href="user-properties.jsp?username=<%= URLEncoder.encode(user.getUsername(), "UTF-8") %>"><%= user.getUsername() %></a></b> <b><a href="user-properties.jsp?username=<%= URLEncoder.encode(user.getUsername(), "UTF-8") %>"><%= JID.unescapeNode(user.getUsername()) %></a></b>
<fmt:message key="user.delete.info1" /> <fmt:message key="user.delete.info1" />
</p> </p>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
org.jivesoftware.admin.AdminPageBean, org.jivesoftware.admin.AdminPageBean,
java.net.URLEncoder" java.net.URLEncoder"
errorPage="error.jsp" errorPage="error.jsp"
%> %><%@ page import="org.xmpp.packet.JID"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %> <%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
<fmt:message key="user.create.username" />: <fmt:message key="user.create.username" />:
</td> </td>
<td class="c2"> <td class="c2">
<%= user.getUsername() %> <%= JID.unescapeNode(user.getUsername()) %>
</td> </td>
</tr> </tr>
<tr> <tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment