ericnewton76 / gmaps-api-net

C# google maps api interface for interacting with the backend web services for Google Maps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing port when using self-provided url

mmeliska opened this issue · comments

I am using your library, however when providing my own api url (for mocking purposes), the call that is made is missing the port. I tracked it down to the point at which the code is getting a "signed uri" in the file GoogleSigned.cs line 159. The code rebuilds the url, but does not include the port when doing the rebuilding.

return uri.Scheme + "://" + uri.Host + uri.LocalPath + uri.Query + signatureParam;