Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0.x
-
Fix Version/s: None
-
Component/s: UI
-
Labels:None
-
Number of attachments :
Description
In GeoServer-2.0.x (trunk), I noticed the following:
If I set (in web.xml) the reverse proxy filter to true, like in:
<filter>
<filter-name>Reverse Proxy Filter</filter-name>
<filter-class>org.geoserver.filters.ReverseProxyFilter</filter-class>
<init-param>
<param-name>enabled</param-name>
<param-value>true</param-value>
....
The search of layers (and styles too) by their names returns always all items.
When I set enabled to "false" in web.xml and restart GeoServer, OpenLayers layer
preview ceases to work (which is to be expected), but the layer search resume to
work properly.
It resembles this (closed) issue: to http://jira.codehaus.org/browse/GEOS-3757
To address this issue no specific Wicket knowledge is required, you just have to look into how the filter mangles the request and spot where it's forgetting to make bits pass through.
For reference I'm attaching the patch I made for
GEOS-3757, it you're lucky this issue is something similar