forked from gitea/gitea
		
	 530ae650f3
			
		
	
	
		530ae650f3
		
			
		
	
	
	
	
		
			
			Backport #11749 Fix #11704 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-Authored-By: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>