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

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

📋 Pull Request Information

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

Base: masterHead: fix-4090


📝 Commits (2)

  • e435aba markup: escape short wiki link
  • 425e702 Merge branch 'master' into fix-4090

📊 Changes

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

View changed files

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

📄 Description

And add more tests


🔄 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/4091 **Author:** [@sapk](https://github.com/sapk) **Created:** 5/31/2018 **Status:** ✅ Merged **Merged:** 6/15/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix-4090` --- ### 📝 Commits (2) - [`e435aba`](https://github.com/go-gitea/gitea/commit/e435aba6539204a0aebe2a75ee78a3cd558dab21) markup: escape short wiki link - [`425e702`](https://github.com/go-gitea/gitea/commit/425e7022e1fcb2bf275203ada0b034f2c75d2c89) Merge branch 'master' into fix-4090 ### 📊 Changes **2 files changed** (+29 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `modules/markup/html.go` (+3 -0) 📝 `modules/markup/html_test.go` (+26 -0) </details> ### 📄 Description And add more tests --- <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:30:30 -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#17237