lshift/diffa — pull request #153 by cstorey (2012-05-15 15:18:13+00:00)
Title: #152 - Correctly construct URLs in InternalRestClient when the endpoint URI already contains a query-string.

As in issue #152, we blindly append a question mark to the endpoint URL, which means that we end up with invalid URLs. In this patch, we do some trivial parsing of the given endpoint URL, and reconstruct the new URL with appropriate separators.