mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 10:44:12 +01:00 
			
		
		
		
	Fix #795
This commit is contained in:
		
							parent
							
								
									81a44e4cd0
								
							
						
					
					
						commit
						e948c7c262
					
				@ -10,6 +10,7 @@ import (
 | 
			
		||||
	"fmt"
 | 
			
		||||
	"strings"
 | 
			
		||||
	"time"
 | 
			
		||||
	"path"
 | 
			
		||||
 | 
			
		||||
	"github.com/Unknwon/com"
 | 
			
		||||
 | 
			
		||||
@ -169,7 +170,7 @@ func SettingsCollaboration(ctx *middleware.Context) {
 | 
			
		||||
	ctx.Data["Title"] = ctx.Tr("repo.settings")
 | 
			
		||||
	ctx.Data["PageIsSettingsCollaboration"] = true
 | 
			
		||||
 | 
			
		||||
	repoLink := strings.TrimPrefix(ctx.Repo.RepoLink, "/")
 | 
			
		||||
	repoLink := path.Join(ctx.Repo.Owner.LowerName, ctx.Repo.Repository.LowerName)
 | 
			
		||||
 | 
			
		||||
	if ctx.Req.Method == "POST" {
 | 
			
		||||
		name := strings.ToLower(ctx.Query("collaborator"))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user