Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Error when response body contains unsupported characters #89

Open
HhebertGhost opened this issue Jan 15, 2024 · 0 comments
Open

SQL Error when response body contains unsupported characters #89

HhebertGhost opened this issue Jan 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@HhebertGhost
Copy link

Description

We are getting errors when the webhook fires and receives a response body containing emojis, specifically :
[273218] Sending webhook “ISR cache bust Entries” (attempt: 2, pid: 249507) - Error (time: 3.632s): SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xF0\x9F\x93\x8D O...' for column 'responseBody' at row 1

Steps to reproduce

  1. create webhook that requests a page with emojis in the body
  2. trigger webhook

Additional info

  • Craft version: 4.5.11.1
  • PHP version: 8.2.1
  • Database driver & version: MySQL 5.7.42
  • Plugins & versions: Webhooks 3.0.5
@HhebertGhost HhebertGhost added the bug Something isn't working label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant