mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Provide configuration to allow camo-media proxying (#12802)
* Provide configuration to allow camo-media proxying Fix #916 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		@@ -386,6 +386,7 @@ func visitNode(ctx *RenderContext, procs, textProcs []processor, node *html.Node
 | 
			
		||||
 | 
			
		||||
					attr.Val = util.URLJoin(prefix, attr.Val)
 | 
			
		||||
				}
 | 
			
		||||
				attr.Val = camoHandleLink(attr.Val)
 | 
			
		||||
				node.Attr[i] = attr
 | 
			
		||||
			}
 | 
			
		||||
		} else if node.Data == "a" {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user