[OpenLayers-Dev] extra '?' in loadURL ?

Erik Uzureau euzuro at gmail.com
Thu Aug 21 02:54:05 EDT 2008


Guillaume, can you confirm this misbehaviour? If so, can you give a
more complete description of the problem (context, setup, detail all
steps, etc)

Thanks!
Erik

On Fri, Jul 11, 2008 at 2:11 AM, Guillaume Sueur
<guillaume.sueur at neogeo-online.net> wrote:
> ok, I will ! But you know, you're never sure in this sort of case, after
> having upgraded, to be in front of a bug or of a misconfiguration of
> your script regarding new options !
>
> Thanks,
>
> Guillaume
>
> Eric Lemoine a écrit :
>> Hi Guillaume. It shouldn't be there but a ticket should be created for
>> this :-) In the mean time, and if this is causing you trouble, you can
>> use OpenLayers.Request.GET directly. loadURL may become deprecated in
>> the future so using the Request object as of now might be a good idea.
>> Thanks for the report. Eric
>>
>> 2008/7/11, Guillaume Sueur <guillaume.sueur at neogeo-online.net>:
>>> Hi devs,
>>>
>>> I've been using the loadURL for a while without any problem. After a
>>> recent update to last SVN version, I noticed the url sent had an extra
>>> '?' added at the end :
>>> alert(url) before loadURL gives:
>>> ../mapview/info/?X=314.99999999999983&Y=305.0000000000039&BBOX=337918.13584105,7652844.79930825,378081.86415895,7681155.20069175&WIDTH=759&HEIGHT=535&layers=9,4,5
>>>
>>> but the url sent to the server is (as seen in firebug, copied with Copy
>>> Location ) :
>>> ../mapview/info/?X=314.99999999999983&Y=305.0000000000039&BBOX=337918.13584105,7652844.79930825,378081.86415895,7681155.20069175&WIDTH=759&HEIGHT=535&layers=9,4,5?
>>>
>>> see the extra '?' at the end of it (yes, I know, the line is long...)
>>>
>>> what is it there for ?
>>>
>>> thanks
>>> --
>>> Guillaume
>>> _______________________________________________
>>> Dev mailing list
>>> Dev at openlayers.org
>>> http://openlayers.org/mailman/listinfo/dev
>>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list