[PR #2846] [MERGED] Clean repository ROOT directory name with filepath.Clean #16630

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2846
Author: @MCF
Created: 11/4/2017
Status: Merged
Merged: 11/4/2017
Merged by: @lafriks

Base: masterHead: unc_fix


📝 Commits (2)

  • f659bc6 Clean repository ROOT directory name with filepath.Clean
  • 587f0b6 Merge branch 'master' into unc_fix

📊 Changes

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

View changed files

📝 modules/setting/setting.go (+2 -2)

📄 Description

For better compatibility with Windows.

Allows UNC paths for the repository ROOT. Fixes: https://github.com/go-gitea/gitea/issues/2845


🔄 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/2846 **Author:** [@MCF](https://github.com/MCF) **Created:** 11/4/2017 **Status:** ✅ Merged **Merged:** 11/4/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `unc_fix` --- ### 📝 Commits (2) - [`f659bc6`](https://github.com/go-gitea/gitea/commit/f659bc60785bef46539b8455012b549459075422) Clean repository ROOT directory name with filepath.Clean - [`587f0b6`](https://github.com/go-gitea/gitea/commit/587f0b666d65331cc7a8f32b5db308beec19595d) Merge branch 'master' into unc_fix ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `modules/setting/setting.go` (+2 -2) </details> ### 📄 Description For better compatibility with Windows. Allows UNC paths for the repository ROOT. Fixes: https://github.com/go-gitea/gitea/issues/2845 --- <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:15:03 -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#16630