[PR #5537] [MERGED] Remove a double slash in the HTTPS redirection when Let's Encrypt is enabled #17833

Closed
opened 2025-11-02 16:07:24 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5537
Author: @gregkare
Created: 12/12/2018
Status: Merged
Merged: 12/12/2018
Merged by: @lafriks

Base: masterHead: bugfix/5536-remove_double_slash_letsencrypt


📝 Commits (1)

  • 6bd01f9 Remove a double slash in the HTTPS redirection when Let's Encrypt is enabled

📊 Changes

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

View changed files

📝 cmd/web.go (+4 -1)

📄 Description

Before:

$ curl 0.0.0.0:3001
<a href="https://gitea.example.com:3000//">Found</a>.

After:

$ curl 0.0.0.0:3001
<a href="https://gitea.example.com:3000/">Found</a>.

Fixes #5536


🔄 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/5537 **Author:** [@gregkare](https://github.com/gregkare) **Created:** 12/12/2018 **Status:** ✅ Merged **Merged:** 12/12/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `bugfix/5536-remove_double_slash_letsencrypt` --- ### 📝 Commits (1) - [`6bd01f9`](https://github.com/go-gitea/gitea/commit/6bd01f9f899b0fcb32627f1802fe96b8ca38dcd5) Remove a double slash in the HTTPS redirection when Let's Encrypt is enabled ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `cmd/web.go` (+4 -1) </details> ### 📄 Description Before: ``` $ curl 0.0.0.0:3001 <a href="https://gitea.example.com:3000//">Found</a>. ``` After: ``` $ curl 0.0.0.0:3001 <a href="https://gitea.example.com:3000/">Found</a>. ``` Fixes #5536 --- <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 16:07:27 -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#17833