Sounds feasible to me. Definitely add a JIRA so that it gets tracked. A patch will get it committed even sooner.
-- Jeremy Thomerson http://www.wickettraining.com On Wed, Jun 3, 2009 at 12:12 AM, Objelean Alex <alex.objel...@gmail.com> wrote: > I know it may sound strange, but I have this request in my > application: if user tweaks an url ending with "wicket:interface = > :0::::" & add some kind of characters at the end, like "? or !", the > page must be redirected to 404 instead of InternalError page. I know > that I can catch WicketRuntimeException & redirect always to 404, but > this would hide other potential problems because > WicketRuntimeException can be caused by other types of problems. > > My suggestion is to throw a more specific RuntimeException in the > WebRequestCodingStrategy.decode method, like DecodeRequestException > (subclass of WicketRuntimeException). This way, I can treat only this > kind of problems differently. > > What is you oppinion? Should I create a JIRA issue for that? > > Thank you! > Alex Objelean >