[PR #1272] [MERGED] [FIX]hm-mime-message.php: Replace the mb_convert_encoding() function … #1396

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

📋 Pull Request Information

Original PR: https://github.com/cypht-org/cypht/pull/1272
Author: @Baraka24
Created: 10/5/2024
Status: Merged
Merged: 10/10/2024
Merged by: @kambereBr

Base: masterHead: fix-deprecated-mb_convert_encoding


📝 Commits (1)

  • ebfb777 [FIX]hm-mime-message.php: Replace the mb_convert_encoding() function with htmlspecialchars() for encoding HTML entities.

📊 Changes

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

View changed files

📝 modules/smtp/hm-mime-message.php (+1 -2)

📄 Description

While sending message in Cyph, we have this in our php error log file:
[Sat Oct 05 23:40:48.530169 2024] [php:notice] [pid 3960:tid 1196] [client ::1:8870] PHP Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in C:\\Apache24\\htdocs\\my_cypht\\modules\\smtp\\hm-mime-message.php on line 232


🔄 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/1272 **Author:** [@Baraka24](https://github.com/Baraka24) **Created:** 10/5/2024 **Status:** ✅ Merged **Merged:** 10/10/2024 **Merged by:** [@kambereBr](https://github.com/kambereBr) **Base:** `master` ← **Head:** `fix-deprecated-mb_convert_encoding` --- ### 📝 Commits (1) - [`ebfb777`](https://github.com/cypht-org/cypht/commit/ebfb77731e2d7faa2d26631db239ce1197dfa1c5) [FIX]hm-mime-message.php: Replace the mb_convert_encoding() function with htmlspecialchars() for encoding HTML entities. ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `modules/smtp/hm-mime-message.php` (+1 -2) </details> ### 📄 Description While sending message in Cyph, we have this in our php error log file: `[Sat Oct 05 23:40:48.530169 2024] [php:notice] [pid 3960:tid 1196] [client ::1:8870] PHP Deprecated: mb_convert_encoding(): Handling HTML entities via mbstring is deprecated; use htmlspecialchars, htmlentities, or mb_encode_numericentity/mb_decode_numericentity instead in C:\\Apache24\\htdocs\\my_cypht\\modules\\smtp\\hm-mime-message.php on line 232` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 21:38:09 +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#1396
No description provided.