Skip to content

Conversation

@jweber
Copy link
Contributor

@jweber jweber commented Dec 7, 2015

It looks like commit 5b0bd6c refactored this class and lost pieces of the code that respect port numbers as well as the absence of query strings in the given URI.

This was causing System.ArgumentOutOfRangeException : StartIndex cannot be less than zero. exceptions to be thrown from projects targeting .NET 4.6.

I just took the same code in the UriInfo class prior to commit 5b0bd6c and re-added it to the refactored class.

UriInfo class was not respecting the URI port and would throw an ArgumentOutOfRangeException if no querystring was defined.
@russcam russcam closed this Dec 29, 2015
@russcam
Copy link
Contributor

russcam commented Dec 29, 2015

I'm tidying up the branches to rename (branch move and delete)

  • 2.0 to master
  • develop (current 1.x client) to 1.x

and as a consequence, closed this PR as a result of deleting the remote 2.0 branch, sorry! I've reinstated the branch to keep track of the open PRs but feel free to close this PR and open a new one with the change against master 😄

@jweber
Copy link
Contributor Author

jweber commented Dec 29, 2015

Thanks. I realized that this change was part of Purify which is it's own project, so I initiated a pull request to fix it in their repository.

I'll close this PR and open a new one against master with the fixes.

@russcam
Copy link
Contributor

russcam commented Dec 29, 2015

@jweber awesome, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants