forked from zaclys/searxng
		
	[fix] query escaped in all htmls, invalid todo removed
This commit is contained in:
		
							parent
							
								
									22a3cf7ac7
								
							
						
					
					
						commit
						ed925cf561
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -307,7 +307,6 @@ def autocompleter(): | ||||||
|     else: |     else: | ||||||
|         request_data = request.args |         request_data = request.args | ||||||
| 
 | 
 | ||||||
|     # TODO fix XSS-vulnerability |  | ||||||
|     query = request_data.get('q', '').encode('utf-8') |     query = request_data.get('q', '').encode('utf-8') | ||||||
| 
 | 
 | ||||||
|     if not query: |     if not query: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Tauber
						Adam Tauber