Skip to content
This repository has been archived by the owner on Feb 19, 2020. It is now read-only.

Allow description longer than 32k #57

Closed
wants to merge 1 commit into from
Closed

Allow description longer than 32k #57

wants to merge 1 commit into from

Conversation

schuettecarsten
Copy link
Contributor

When a description is sent to the server, HockeySDK uses Uri.EscapeDataString() to escape it. Unfortunately, this method only supports 32k strongs (as written in MSDN, in fact it supports up to 64k), so longer descriptions cause in internal exception.

This PR adds UriExtensions.EscapeDataString and changes the usage of Uri.EscapeDataString to the new method.

Please review.
CLA signed.

…ecially Descripotion) values longer than 32k
@msftclas
Copy link

Hi @schuettecarsten, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by Microsoft and real humans are currently evaluating your PR.

TTYL, MSBOT;

@schuettecarsten
Copy link
Contributor Author

schuettecarsten commented Jul 25, 2016

I just saw that the same issue has been adressed in #35. Unfortunately, the bug is back.

@izikl
Copy link
Contributor

izikl commented Nov 22, 2016

@schuettecarsten thank you for your contribution.
Can you please recreate this PR against develop?

@schuettecarsten
Copy link
Contributor Author

Yes, will do soon.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants