aPureBase / KGraphQL

Pure Kotlin GraphQL implementation
https://kgraphql.io
MIT License
298 stars 58 forks source link

Use an appropriate charset for json in case the request didn't specify a charset #191

Closed ikasovitch closed 2 years ago

ikasovitch commented 2 years ago

Applying a workaround to overcome this issue in Ktor (1.6.x). Basically we specify a proper Charset for requests with the Json content type. Without this fix you might get a garbled input in case the request was in Japanese for example.