mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Various wiki bug fixes (#2996)
* Update macaron * Various wiki bug fixes
This commit is contained in:
		@@ -36,6 +36,7 @@ type Context struct {
 | 
			
		||||
	Session session.Store
 | 
			
		||||
 | 
			
		||||
	Link        string // current request URL
 | 
			
		||||
	EscapedLink string
 | 
			
		||||
	User        *models.User
 | 
			
		||||
	IsSigned    bool
 | 
			
		||||
	IsBasicAuth bool
 | 
			
		||||
@@ -157,7 +158,7 @@ func Contexter() macaron.Handler {
 | 
			
		||||
			csrf:    x,
 | 
			
		||||
			Flash:   f,
 | 
			
		||||
			Session: sess,
 | 
			
		||||
			Link:    setting.AppSubURL + strings.TrimSuffix(c.Req.URL.Path, "/"),
 | 
			
		||||
			Link:    setting.AppSubURL + strings.TrimSuffix(c.Req.URL.EscapedPath(), "/"),
 | 
			
		||||
			Repo: &Repository{
 | 
			
		||||
				PullRequest: &PullRequest{},
 | 
			
		||||
			},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user