Good eye, Bart. You're right. :-)<br>
<br>
I've made a new ticket, hopefully to fix this in a more general way:<br>
<br>
<a href="http://trac.openlayers.org/ticket/762">http://trac.openlayers.org/ticket/762</a><br>
<br>
--Erik<br>
<br><br><div><span class="gmail_quote">On 5/9/07, <b class="gmail_sendername">Bart van den Eijnden (OSGIS)</b> <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Chris,<br><br>are you sure about this?<br><br>If I read<br><br><a href="http://trac.openlayers.org/ticket/491">http://trac.openlayers.org/ticket/491</a><br><br>then commas in the following parameters should not be urlencoded:
<br><br>-BBOX<br>-LAYERS<br>-STYLES<br><br>Best regards,<br>Bart<br><br>--<br>Bart van den Eijnden<br>OSGIS, Open Source GIS<br><a href="http://www.osgis.nl">http://www.osgis.nl</a><br><br><br>--------- Oorspronkelijk bericht --------
<br>Van: Christopher Schmidt <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>><br>Naar: Nick Whitelegg <<a href="mailto:nick@hogweed.org">nick@hogweed.org</a>><br>Cc: <a href="mailto:users@openlayers.org">
users@openlayers.org</a><br>Onderwerp: Re: [OpenLayers-Users] Strange bug (?) in OpenLayers 2.4rc3 vs<br>2.2<br>Datum: 08/05/07 18:46<br><br>> On Tue, May 08, 2007 at 08:51:36PM +0100, Nick Whitelegg wrote:<br>> &gt; Hello everyone,
<br>> &gt;<br>> &gt; I'm getting a strange effect if I use a Mercator projection WMS<br>server with a<br>> &gt; bounding box which can take negative values in 2.4rc3 or the SVN<br>version,<br>> &gt; which I didn't get in
2.2.<br>> &gt;<br>> &gt; Looking at the URL constructed to get the tiles, it appears to be<br>URL-encoding<br>> &gt; the commas which messes up the bbox.<br>> &gt;<br>> &gt; i.e. the URL I get for the tiles in
2.4-rc3 is something like:<br>> &gt;<br>> &gt;<br><a href="http://www.free-map.org.uk/cgi-bin/render?BBOX=-80000%2C6595000%2C-75000%2C6600000">http://www.free-map.org.uk/cgi-bin/render?BBOX=-80000%2C6595000%2C-75000%2C6600000
</a><br>> &gt; &amp;WIDTH=500&amp;HEIGHT=500<br>> &gt;<br>> &gt; rather than in 2.2:<br>> &gt;<br>> &gt;<br><a href="http://www.free-map.org.uk/cgi-bin/render?BBOX=-80000,6595000,-75000,6600000">
http://www.free-map.org.uk/cgi-bin/render?BBOX=-80000,6595000,-75000,6600000</a><br>> &gt; &amp;WIDTH=500&amp;HEIGHT=500<br>><br>> &gt; Is this a bug or am I doing something wrong?<br>><br>> This is a change, but not a bug. In general, I'd expect that your server
<br>> code would take care of converting this for you. I'm really surprised<br>> that it doesn't. (What are you using for CGI?)<br>><br>> In any case, this is meeting the WMS spec more closely. Before, we were
<br>> breaking some WMS servers -- in this case, we've broken your WMS-ish<br>> server, but we were both breaking the spec before, and now OpenLayers is<br>> in the right ;)<br>><br>> If it's difficult to work around this in your server-side code, let me
<br>> know, and I'll come up with a hack you can apply to make OpenLayers stop<br>> doing this on your page.<br>><br>> Regards,<br>> --<br>> Christopher Schmidt<br>> MetaCarta<br>> _______________________________________________
<br>> Users mailing list<br>> <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>><br>
><br><br><br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users
</a><br></blockquote></div><br>