[PR #59] [MERGED] Fix 500 when repo has invalid .editorconfig #15119

Closed
opened 2025-11-02 11:39:18 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/59
Author: @andreynering
Created: 11/3/2016
Status: Merged
Merged: 11/5/2016
Merged by: @strk

Base: masterHead: gitea/fix-500-on-invalid-editorconfig


📝 Commits (1)

  • 984fa8d Fix 500 when repo has invalid .editorconfig

📊 Changes

4 files changed (+31 additions, -16 deletions)

View changed files

📝 routers/repo/commit.go (+2 -4)
routers/repo/middlewares.go (+23 -0)
📝 routers/repo/pull.go (+4 -8)
📝 routers/repo/view.go (+2 -4)

📄 Description

Creating a notice instead

Fixes gogits/gogs#3643


🔄 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/59 **Author:** [@andreynering](https://github.com/andreynering) **Created:** 11/3/2016 **Status:** ✅ Merged **Merged:** 11/5/2016 **Merged by:** [@strk](https://github.com/strk) **Base:** `master` ← **Head:** `gitea/fix-500-on-invalid-editorconfig` --- ### 📝 Commits (1) - [`984fa8d`](https://github.com/go-gitea/gitea/commit/984fa8d83b403baf1b72ec0e9e98a6c700aabf9d) Fix 500 when repo has invalid .editorconfig ### 📊 Changes **4 files changed** (+31 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `routers/repo/commit.go` (+2 -4) ➕ `routers/repo/middlewares.go` (+23 -0) 📝 `routers/repo/pull.go` (+4 -8) 📝 `routers/repo/view.go` (+2 -4) </details> ### 📄 Description Creating a notice instead Fixes gogits/gogs#3643 --- <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:39:18 -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#15119