fixed unescaping of & < >
This commit is contained in:
		
							parent
							
								
									ba6c00bad1
								
							
						
					
					
						commit
						f84ace2b05
					
				
							
								
								
									
										6
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								dunst.c
									
									
									
									
									
								
							| @ -332,17 +332,17 @@ char | ||||
|         else if(!strncmp(strpos, "&", strlen("amp;"))) { | ||||
|             *tmppos = '&'; | ||||
|             tmppos++; | ||||
|             strpos += strlen("&") - 1; | ||||
|             strpos += strlen("&"); | ||||
|         } | ||||
|         else if(!strncmp(strpos, "<", strlen("lt;"))) { | ||||
|             *tmppos = '<'; | ||||
|             tmppos++; | ||||
|             strpos += strlen("<") - 1; | ||||
|             strpos += strlen("<"); | ||||
|         } | ||||
|         else if(!strncmp(strpos, ">", strlen("gt;"))) { | ||||
|             *tmppos = '>'; | ||||
|             tmppos++; | ||||
|             strpos += strlen(">") - 1; | ||||
|             strpos += strlen(">"); | ||||
|         } | ||||
|         else { | ||||
|             *tmppos = *strpos; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse