That is why this Exception was created... you can override requestCycle &
handle this kind of exception whatever you like ...

Alex Objelean


Marat Radchenko-2 wrote:
> 
> There some places in Wicket sources where it throws
> InvalidUrlException that causes exception logging and
> InternalErrorPage is shown.
> 
> However, I don't agree that badly constructed URL is and _internal_
> error. It is external error (for example, user was playing with urls,
> modifying them by hand).
> 
> So, my proposal: stop treating invalid urls and internal errors, don't
> log traces for them, don't show InternalErrorPage. Instead, either
> redirect user to home page, or show him 404, or show him 400 (bad
> request), or whatever else.
> 
> The main point: do _not_ log errors just because user passed us an url
> that we couldn't resolve to a page/component.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/InvalidUrlException-considered-evil--tp26607291p26635840.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to