Hi list,

I am sending a HTTP GET request to Geoserver through proxy.cgi, but
something goes wrong since proxy.cgi seems to decode the url.

I ended up using both Ext.urlEncode and escape to get things to work, but
ofcourse this seems a bit unclean :-)

Any ideas on what a correct solution would be?

urlencoded:
url=http://145.50.148.45:8082/geoserver/wfs?filter=%3CFilter%20xmlns%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%3E%3CAnd%3E%3CPropertyIsLike%20wildCard%3D%22*%22%20singleChar%3D%22%23%22%20escapeChar%3D%22!%22%3E%3CPropertyName%3EWEGNUMMER%3C%2FPropertyName%3E%3CLiteral%3E*004*%3C%2FLiteral%3E%3C%2FPropertyIsLike%3E%3CPropertyIsLike%20wildCard%3D%22*%22%20singleChar%3D%22%23%22%20escapeChar%3D%22!%22%3E%3CPropertyName%3EHECTOMTRNG%3C%2FPropertyName%3E%3CLiteral%3E*2*%3C%2FLiteral%3E%3C%2FPropertyIsLike%3E%3C%2FAnd%3E%3C%2FFilter%3E&typename=rwsagi%3AV_HECTOPUNTEN&service=WFS&request=GetFeature&version=1.0.0&outputformat=json&maxfeatures=250

urlencoded and escaped:
url=http%3A//145.50.148.45%3A8082/geoserver/wfs%3Ffilter%3D%253CFilter%2520xmlns%253D%2522http%253A%252F%252Fwww.opengis.net%252Fogc%2522%253E%253CAnd%253E%253CPropertyIsLike%2520wildCard%253D%2522*%2522%2520singleChar%253D%2522%2523%2522%2520escapeChar%253D%2522%21%2522%253E%253CPropertyName%253EWEGNUMMER%253C%252FPropertyName%253E%253CLiteral%253E*004*%253C%252FLiteral%253E%253C%252FPropertyIsLike%253E%253CPropertyIsLike%2520wildCard%253D%2522*%2522%2520singleChar%253D%2522%2523%2522%2520escapeChar%253D%2522%21%2522%253E%253CPropertyName%253EHECTOMTRNG%253C%252FPropertyName%253E%253CLiteral%253E*2*%253C%252FLiteral%253E%253C%252FPropertyIsLike%253E%253C%252FAnd%253E%253C%252FFilter%253E%26typename%3Drwsagi%253AV_HECTOPUNTEN%26service%3DWFS%26request%3DGetFeature%26version%3D1.0.0%26outputformat%3Djson%26maxfeatures%3D250

Best regards,
Bart

--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl





_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to