mirror of
				https://github.com/janeczku/calibre-web
				synced 2025-10-31 15:23:02 +00:00 
			
		
		
		
	Fix for #1382 (Restrictions with "&" in it can't be deleted)
This commit is contained in:
		| @@ -124,7 +124,7 @@ $(function() { | ||||
|                 if (field === 3) { | ||||
|                     $.ajax ({ | ||||
|                         type: "Post", | ||||
|                         data: "id=" + row.id + "&type=" + row.type + "&Element=" + row.Element, | ||||
|                         data: "id=" + row.id + "&type=" + row.type + "&Element=" + encodeURIComponent(row.Element), | ||||
|                         url: path + "/../../ajax/deleterestriction/" + type, | ||||
|                         async: true, | ||||
|                         timeout: 900, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Ozzieisaacs
					Ozzieisaacs