[PR #1698] [MERGED] fix: Encode unsafe characters as HTML entities #1920

Closed
opened 2026-02-25 23:31:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/floccusaddon/floccus/pull/1698
Author: @marcelklehr
Created: 8/18/2024
Status: Merged
Merged: 8/18/2024
Merged by: @marcelklehr

Base: developHead: fix/htmlentities


📝 Commits (2)

  • c026d84 fix: Encode unsafe characters as HTML entities
  • f82cdc1 test: Add test for html injection

📊 Changes

2 files changed (+8 additions, -4 deletions)

View changed files

📝 src/lib/serializers/Html.ts (+6 -2)
📝 src/test/test.js (+2 -2)

📄 Description

fixes #1697


🔄 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/floccusaddon/floccus/pull/1698 **Author:** [@marcelklehr](https://github.com/marcelklehr) **Created:** 8/18/2024 **Status:** ✅ Merged **Merged:** 8/18/2024 **Merged by:** [@marcelklehr](https://github.com/marcelklehr) **Base:** `develop` ← **Head:** `fix/htmlentities` --- ### 📝 Commits (2) - [`c026d84`](https://github.com/floccusaddon/floccus/commit/c026d8491b526cf9a07c811ec1cb074d0894ea4f) fix: Encode unsafe characters as HTML entities - [`f82cdc1`](https://github.com/floccusaddon/floccus/commit/f82cdc1523453f2c3ef23bf190ed21a8789efe6b) test: Add test for html injection ### 📊 Changes **2 files changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/serializers/Html.ts` (+6 -2) 📝 `src/test/test.js` (+2 -2) </details> ### 📄 Description fixes #1697 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:31:14 +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/floccus#1920
No description provided.