A URL like
http://localhost/maps/torridon.ctm1?type=metadata
does not work properly because the extra info '?type=metadata' is stripped from the URL in the Windows implementation of the Naett library.
The fix is to change this line:
|
req->resource = wcsndup(components.lpszUrlPath, components.dwUrlPathLength); |
to
req->resource = wcsndup(components.lpszUrlPath, components.dwUrlPathLength + components.dwExtraInfoLength);