Skip to content

Commit

Permalink
Fix backprot
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Dec 2, 2024
1 parent 84065e2 commit 3315a90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapps/examples/WEB-INF/classes/SessionExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import java.io.IOException;
import java.io.PrintWriter;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.Date;
import java.util.Enumeration;
import java.util.ResourceBundle;
Expand Down Expand Up @@ -113,7 +112,7 @@ public void doGet(HttpServletRequest request, HttpServletResponse response) thro
out.println(HTMLFilter.filter(name) + " = " + HTMLFilter.filter(value));
out.print("<a href=\"");
out.print(HTMLFilter.filter(
response.encodeURL("SessionExample?dataname=" + URLEncoder.encode(name, StandardCharsets.UTF_8))));
response.encodeURL("SessionExample?dataname=" + URLEncoder.encode(name, "UTF-8"))));
out.println("\" >delete</a>");
out.println("<br>");
}
Expand Down

0 comments on commit 3315a90

Please sign in to comment.