Alexis "Agemen" 

> My rationale is the following : the input URL comes from the user, and the
> user makes mistakes. Particularly, supposing I understand what the client
> does, it seems that it will concatenate the WMS query string to the URL
> without checking the input URL. So it will fail. To avoid that (at least in 
> some
> cases, I don't know the http URL restrictions very well...), I search for ? 
> and &
> in the URL to be sure that it end by the expected one.
> 
> In OrbisGIS, it's up to the user to give the URL. As we're not speaking about
> people that know HTTP well, most of them will forget the ending ?
> or &. This URL is given directly to the client, and if the ? or & is missing 
> at the
> end, requests will fail. But as said, I can change things in OrbisGIS, just 
> before
> making calls to the WMS client.

Hi,

 OpenJUMP takes WMS urls with or withour ending "?" or ending "&" without 
troubles so there must be code for handling these cases.  I am not sure if you 
have also copied the behaviour about what happens if server is sending another 
url for GetMaps than what was used for GetCapabilities.  For my mind it is done 
in a right way in OpenJUMP. If GetMap url is different than GetCapabilities url 
the user is asked which one should be used. Reason for this is that the 
different GetMap url can be correct (for example load balancer is forwarding 
GetMap request to several servers) but it can also be a misconfiguration on the 
server side. 

Regards,

-Jukka-
 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to