[OpenLayers-Dev] URL Encoding breaks WMS

Tim Schaub noreply at geocartic.com
Wed Jan 31 11:42:07 EST 2007


As Keith points out, OL without URL encoding was "breaking" the WMS spec as
well.  For example, if my WMS advertised a layer with the name of "nice
name, huh" then OL would have requested that as an unencoded string, leaving
the WMS server to think I was requesting two layers instead of one.  So,
regressing the regression leaves it broken as well.

My opinion is that you don't write a web application that doesn't deal with
URL encoding.  The WMS spec makes an exception for comma separated parameter
values.  I think OL should deal with this as Keith suggested (layers and
styles should be arrays - or if strings, should be assumed to be an array of
one).

Tim

> -----Original Message-----
> Subject: [OpenLayers-Dev] URL Encoding breaks WMS
> 
> http://trac.openlayers.org/ticket/491
> 
> A quite clear example of the URL encoding change breaking the 
> WMS spec.
> i think the URL encoding was added in 2.3, so I think that 
> this change should be considered a regression and tkaen care 
> of before we release 2.3.
> 
> Can I get other opinions on this as well?
> 
> (CC to keith, who I'm not sure is on the dev list.)
> 
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
> 




More information about the Dev mailing list