- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Device Spy Version 1.3.1768.24086 and have noted the following behavior.
The controlURLs in my DDDs include query strings, so the "&" characters are encoded as & in the DDD.
For example, controlURL "/path?a=b&c=d" will be encoded in the XML as "/path?a=b&c=d".
When Device Spy uses this controlURL for an HTTP POST, it should retain the literal "&" but it does not; instead it quotes it as %26.
In the example above, the URL will be received as "/path?a=b%26c=d", so the HTTP server will not correctly parse the query string.
Note that it would be incorrect for the HTTP server to un-escape the query string before parsing it, because the query components might validly contain escaped special characters.
Any comments? Thanks,
William Lupton
The controlURLs in my DDDs include query strings, so the "&" characters are encoded as & in the DDD.
For example, controlURL "/path?a=b&c=d" will be encoded in the XML as "/path?a=b&c=d".
When Device Spy uses this controlURL for an HTTP POST, it should retain the literal "&" but it does not; instead it quotes it as %26.
In the example above, the URL will be received as "/path?a=b%26c=d", so the HTTP server will not correctly parse the query string.
Note that it would be incorrect for the HTTP server to un-escape the query string before parsing it, because the query components might validly contain escaped special characters.
Any comments? Thanks,
William Lupton
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page