[OpenLayers-Users] 2.3RC1: change in urlencoding of parameters
Tim Schaub
noreply at geocartic.com
Wed Jan 17 19:08:21 EST 2007
> This is a good idea Bart. Can you think of a good algorithm
> to test if a string has been URIEncode-d ?
Practice on this one: %25
I don't think any algorithm is going to let you divine whether I meant % or
%25.
>
> Erik
>
> On 1/4/07, Bart van den Eijnden (OSGIS) <bartvde at osgis.nl> wrote:
> > Hi list,
> >
> > just a warning for everybody switching from 2.2 to 2.3RC1,
> I found out
> > (since part of my application wasn't working anymore) that
> OpenLayers
> > now
> > (2.3RC1) urlencodes/escapes the parameters of a WMS request.
> > Previously this was not done by OpenLayers so I did it in
> my PHP code
> > which writes out the javascript.
> >
> > Maybe the OpenLayers code can check if the parameter is
> already urlencoded?
> > Because when double encoded, it does not work anymore
> ofcourse, which
> > was what was happening to me.
> >
> > Best regards,
> > Bart
> >
> > --
> > Bart van den Eijnden
> > OSGIS, Open Source GIS
> > http://www.osgis.nl
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
More information about the Users
mailing list