I think this [URLEncoder.encode(name, StandardCharsets.UTF_8)] fails on java8 compile (tomcat 9 issue only)
-Tim On Tue, Dec 3, 2024 at 12:46 PM <ma...@apache.org> wrote: > The following commit(s) were added to refs/heads/9.0.x by this push: > new c2f7ce21c3 Limit to 10 attributes. Add option to delete attribute. > c2f7ce21c3 is described below > > --- a/webapps/examples/jsp/security/protected/index.jsp > +++ b/webapps/examples/jsp/security/protected/index.jsp > <SNIP> > <tr> > <td><%= util.HTMLFilter.filter(name) %></td> > - <td><%= > util.HTMLFilter.filter(String.valueOf(session.getAttribute(name))) %></td> > + <td><%= util.HTMLFilter.filter(value) %></td> > + <td><a href='<%= response.encodeURL("index.jsp?dataName=" + > URLEncoder.encode(name, StandardCharsets.UTF_8)) %>'>delete</a></td> > </tr> > <% > } > >