Re: Missing Asset causes Exception where 404 would be more appropriate

2011-03-16 Thread Joost Schouten (ml)
On 16/03/11 10:58 AM, Ulrich Stärk wrote: Indeed. We should handle stack assets the same as context and classpath assets where we DO issue a 404 not found. Please file an issue. Uli Ah! Didn't even know we already did do 404's on the other assets. Issue filed at: https://issues.apache.org/j

Re: Missing Asset causes Exception where 404 would be more appropriate

2011-03-16 Thread Ulrich Stärk
Indeed. We should handle stack assets the same as context and classpath assets where we DO issue a 404 not found. Please file an issue. Uli On 16.03.2011 09:02, Joost Schouten (ml) wrote: > > > Hi, > > I have a bunch of robots crawling my assets folder and trying all sorts of > requests to s

Missing Asset causes Exception where 404 would be more appropriate

2011-03-16 Thread Joost Schouten (ml)
Hi, I have a bunch of robots crawling my assets folder and trying all sorts of requests to see if they can find holes in my app (example at [1]). Since the assets don't exist I get the following exception [2]. Would it not make more sence in this case to just return a 404 in stead? Would kee