[GH-ISSUE #1396] Unneeded character escaping for Slack/SlackRecord #584

Closed
opened 2026-03-04 02:16:10 +03:00 by kerem · 1 comment
Owner

Originally created by @alies-dev on GitHub (Nov 9, 2019).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1396

The only one goal of using json_encode to prepare $record to send to slack is to stringify some types for better perception. json_encode uses flash escaping by default that provides bad user experience, especially for URL:

image

Originally created by @alies-dev on GitHub (Nov 9, 2019). Original GitHub issue: https://github.com/Seldaek/monolog/issues/1396 The only one goal of using `json_encode` to prepare `$record` to send to slack is to stringify some types for better perception. `json_encode` uses flash escaping by default that provides bad user experience, especially for URL: ![image](https://user-images.githubusercontent.com/5278175/68527624-fcd2b100-02f9-11ea-8ac6-4f1b58a7b0fc.png)
kerem 2026-03-04 02:16:10 +03:00
  • closed this issue
  • added the
    Bug
    label
Author
Owner

@Seldaek commented on GitHub (Nov 13, 2019):

Thanks for the fix, but it kinda conflicted with other changes I did to fix broader json encoding issues so I had to reimplement it. In any case it should now be fixed in the latest release

<!-- gh-comment-id:553342590 --> @Seldaek commented on GitHub (Nov 13, 2019): Thanks for the fix, but it kinda conflicted with other changes I did to fix broader json encoding issues so I had to reimplement it. In any case it should now be fixed in the latest release
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/monolog#584
No description provided.