Skip to content

&url command fails if the fetched source code contains utf-8 #3

Description

@paulsonkoly

When the source code from the remote code paste service contains an utf-8 char the cinch handler in the bot dies. This happens in EvaluatiorService#to_wire because the to_json calls encode in the code, which then fails as the encoding is incorrectly set.
This happens because Typhoeus incorrectly sets the response body encoding, not respecting the charset from the response header.
see typhoeus/typhoeus#580

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions