Select to view content in your preferred language

URL encoding of the where and outFields...

627
3
10-22-2012 01:14 PM
KennethGoers
New Contributor
High level question here...

We have some code that utilizes both the iOS ArcGIS (2.3.2) library and the Silverlight (2.4) library.

For identical queries these libraries product different URLs, specifically, the Windows library encodes the "=" and "," where the iOS library does NOT.  Is there a valid reason for this?  The inconsistency is messing up a proxy we are setting up.

Thanks,
Kenny.
0 Kudos
3 Replies
NimeshJarecha
Esri Regular Contributor
Hi Kenny,

Could you please post an example, what is happening and what you expect?

Regards,
Nimesh
0 Kudos
KennethGoers
New Contributor
Hi Kenny,

Could you please post an example, what is happening and what you expect?

Regards,
Nimesh


I would just expect the URLs to be the same for both platforms, instead iOS gives us:

http://wwwquo.dev.naucountry.com/MappingProxy/0/query?spatialRel=esriSpatialRelIntersects&outFields=...

Windows/Silverlight gives us this:

http://wwwquo.dev.naucountry.com/MappingProxy/0/query?returnGeometry=true&spatialRel=esriSpatialRelI...

Notice the differences, the extra "&" at the end of the silverlight version, as well as the encoded parameters for '=' and ','

Thoughts?
0 Kudos
NimeshJarecha
Esri Regular Contributor
We're investigating this. Thanks for reporting.

Regards,
Nimesh
0 Kudos