Skip to content

Conversation

craigfurman
Copy link

I have a use case for sending non-utf8 query parameters (specifically, announcing to BitTorrent trackers from a BitTorrent client). I'm using Req.Test to assert against the request payload my application sends, and am hitting an error of the form "invalid UTF-8 on urlencoded params, got byte...".

This commit disables utf8 validation on Req.Test's plug. I am not 100% sure, but I don't think this will break anything else. If it does, we can perhaps make it an option.

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.

1 participant