Skip to content

Crash for some texts #48

Description

@steBracKa

Working:
/meme brace-yourselves Its Sunday

Not working:
/meme brace-yourselves It's Sunday

Result:
"Internal Server Error" and the following log entry

{"level":"error","ts":1618726829.0428991,"caller":"mlog/log.go:232","msg":"error resolving meme","path":"/api/v4/commands/execute","request_id":"warwwuchztb978swhjfp7jey7e","ip_addr":"93.218.248.222","user_id":"f3c6mis46byi8mhj3bmfswbmrc","method":"POST","err_where":"ExecuteCommand","http_code":500,"err_details":"Unterminated single-quoted string"}

Mattermost 5.34.2 with NGINX

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions