[PR #713] [MERGED] Fixed uncaught exception when htmlpurifier throws one #999

Closed
opened 2026-02-25 21:36:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/713
Author: @josaphatim
Created: 5/25/2023
Status: Merged
Merged: 5/25/2023
Merged by: @marclaporte

Base: masterHead: html-purifier-bug


📝 Commits (1)

  • 3208ac4 Fixed uncaught exception when htmlpurifier throws one

📊 Changes

1 file changed (+6 additions, -2 deletions)

View changed files

📝 modules/core/message_functions.php (+6 -2)

📄 Description

With php >= 8 the @ error suppression operator does not silent fatal errors.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cypht-org/cypht/pull/713 **Author:** [@josaphatim](https://github.com/josaphatim) **Created:** 5/25/2023 **Status:** ✅ Merged **Merged:** 5/25/2023 **Merged by:** [@marclaporte](https://github.com/marclaporte) **Base:** `master` ← **Head:** `html-purifier-bug` --- ### 📝 Commits (1) - [`3208ac4`](https://github.com/cypht-org/cypht/commit/3208ac4e21cdf600022a5553d811e6596582b5e7) Fixed uncaught exception when htmlpurifier throws one ### 📊 Changes **1 file changed** (+6 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `modules/core/message_functions.php` (+6 -2) </details> ### 📄 Description With php >= 8 the @ error suppression operator does not silent fatal errors. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:36:54 +03:00
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/cypht#999
No description provided.