[PR #1646] [MERGED] [backport] fix sanitation #15969

Closed
opened 2025-11-02 11:59:14 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1646
Author: @bkcsoft
Created: 4/30/2017
Status: Merged
Merged: 4/30/2017
Merged by: @lunny

Base: release/v1.1Head: bp-1-1/fix-sanitation


📝 Commits (2)

📊 Changes

7 files changed (+115 additions, -27 deletions)

View changed files

📝 models/repo.go (+3 -3)
📝 models/user.go (+2 -2)
📝 modules/markdown/markdown.go (+1 -20)
modules/markdown/sanitizer.go (+63 -0)
modules/markdown/sanitizer_test.go (+44 -0)
📝 modules/templates/helper.go (+1 -1)
📝 routers/init.go (+1 -1)

📄 Description

Backport of #1461


🔄 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/go-gitea/gitea/pull/1646 **Author:** [@bkcsoft](https://github.com/bkcsoft) **Created:** 4/30/2017 **Status:** ✅ Merged **Merged:** 4/30/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `release/v1.1` ← **Head:** `bp-1-1/fix-sanitation` --- ### 📝 Commits (2) - [`80a9bca`](https://github.com/go-gitea/gitea/commit/80a9bca6d69970e299f671e30d1935ea625607e9) Santiation fix from Gogs - [`098df53`](https://github.com/go-gitea/gitea/commit/098df53f18e13f2966d2be8790af3b2378dc0c4d) Fix SSH-breakage ### 📊 Changes **7 files changed** (+115 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `models/repo.go` (+3 -3) 📝 `models/user.go` (+2 -2) 📝 `modules/markdown/markdown.go` (+1 -20) ➕ `modules/markdown/sanitizer.go` (+63 -0) ➕ `modules/markdown/sanitizer_test.go` (+44 -0) 📝 `modules/templates/helper.go` (+1 -1) 📝 `routers/init.go` (+1 -1) </details> ### 📄 Description Backport of #1461 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:59:14 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15969