You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Chris Colman <ch...@stepaheadsoftware.com> on 2012/12/27 04:54:41 UTC

Attempting to load resources at wrong location

In the last few months I've seen errors where the resources requested
repeat the /wicket part:
 
2012/12/27 14:24:59.366 WARN  - EServerContext             - doFilter:
requested URL:
'/wicket/wicket/resource/org.apache.wicket.resource.JQueryResourceRefere
nce/jquery/jquery.min-ver-static-E1288116312E4728F98923C79B034B67.js'
 
Which results in a ClassNotFoundException while attempting to load a
class called 'wicket'.
 
I tried reproducing this in a browser but it seems to work fine.
 
The problem could be the result of an ill-coded web crawler (eg., search
engine). It might be doing incorrect processing of the relative path.
 
<head><script type="text/javascript"
src="../../../wicket/resource/org.apache.wicket.resource.JQueryResourceR
eference/jquery/jquery.min-ver-static-E1288116312E4728F98923C79B034B67.j
s
<view-source:http://www.eoled.com.au/wicket/resource/org.apache.wicket.r
esource.JQueryResourceReference/jquery/jquery.min-ver-static-E1288116312
E4728F98923C79B034B67.js> "></script>
 
And somehow duplicating the first 'non ..' segment.
 
Anyone else noticed this?