server/rest: urldecode incoming paths
This commit is contained in:
		
							parent
							
								
									0c2efc0be5
								
							
						
					
					
						commit
						65119d69ab
					
				@ -30,7 +30,7 @@ def _get_headers(env):
 | 
			
		||||
 | 
			
		||||
def _create_context(env):
 | 
			
		||||
    method = env['REQUEST_METHOD']
 | 
			
		||||
    path = '/' + env['PATH_INFO'].lstrip('/')
 | 
			
		||||
    path = urllib.parse.unquote('/' + env['PATH_INFO'].lstrip('/'))
 | 
			
		||||
    headers = _get_headers(env)
 | 
			
		||||
 | 
			
		||||
    files = {}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user