[PR #4254] [MERGED] backport(#4091): Fix #4090 by escaping filename page/img link (without path) for short link #17302

Closed
opened 2025-11-02 12:32:05 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/4254
Author: @sapk
Created: 6/15/2018
Status: Merged
Merged: 6/17/2018
Merged by: @lunny

Base: release/v1.4Head: release/v1.4-backport-4090


📝 Commits (1)

  • 81ccba2 backport(#4091): Fix #4090 by escaping filename page/img link (without path) for short link

📊 Changes

2 files changed (+29 additions, -0 deletions)

View changed files

📝 modules/markup/html.go (+3 -0)
📝 modules/markup/markdown/markdown_test.go (+26 -0)

📄 Description

Simply backport to v1.4
Ref: #4091


🔄 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/4254 **Author:** [@sapk](https://github.com/sapk) **Created:** 6/15/2018 **Status:** ✅ Merged **Merged:** 6/17/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `release/v1.4` ← **Head:** `release/v1.4-backport-4090` --- ### 📝 Commits (1) - [`81ccba2`](https://github.com/go-gitea/gitea/commit/81ccba2612f4b1bb992853e10b9bab1f687ef11b) backport(#4091): Fix #4090 by escaping filename page/img link (without path) for short link ### 📊 Changes **2 files changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `modules/markup/html.go` (+3 -0) 📝 `modules/markup/markdown/markdown_test.go` (+26 -0) </details> ### 📄 Description Simply backport to v1.4 Ref: #4091 --- <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 12:32:05 -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#17302