Skip to content

Conversation

JoshuaBehrens
Copy link
Contributor

If you launch a simple server using this SDK and make a GET on any URI, the server crashes due to an uncaught exception. I can't catch it by myself as it is thrown when the incoming request gets analyzed to choose the right handler.

I chose the BadRequest error code as it best fits the situation. I could not inspect the windows server as I do not have a windows system at hand.

@msftclas
Copy link

@JoshuaBehrens,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.

It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@msftclas
Copy link

@JoshuaBehrens, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.

Thanks, Microsoft Pull Request Bot

ras0219-msft added a commit that referenced this pull request Apr 28, 2017
ras0219-msft added a commit that referenced this pull request Apr 28, 2017
Handled uncaught exception when request contains bad encoded URI
@ras0219-msft ras0219-msft merged commit 089f5a4 into microsoft:master Apr 28, 2017
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.

3 participants