Андрюха wd со Ставрополя tested this and observed some undocumented behaviour inside Links resolver that may potentially harm entire application. Implementing hot fixes.
This commit is contained in:
		
							parent
							
								
									51fd7ef228
								
							
						
					
					
						commit
						2058370ee6
					
				
					 4 changed files with 3 additions and 4 deletions
				
			
		
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							|  | @ -4,7 +4,7 @@ | |||
|     <modelVersion>4.0.0</modelVersion> | ||||
|     <groupId>loper</groupId> | ||||
|     <artifactId>InnaIrcBot</artifactId> | ||||
|     <version>0.9-SNAPSHOT</version> | ||||
|     <version>0.9.1-SNAPSHOT</version> | ||||
| 
 | ||||
|     <packaging>jar</packaging> | ||||
|     <name>InnaIrcBot</name> | ||||
|  |  | |||
|  | @ -4,7 +4,6 @@ import InnaIrcBot.Commanders.EventHandler; | |||
| import InnaIrcBot.ProvidersConsumers.StreamProvider; | ||||
| 
 | ||||
| import java.time.LocalDateTime; | ||||
| import java.time.format.DateTimeFormatter; | ||||
| import java.util.*; | ||||
| 
 | ||||
| public class JoinFloodHandler implements EventHandler { | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| package InnaIrcBot; | ||||
| 
 | ||||
| public class GlobalData { | ||||
|     private static final String version = "InnaIrcBot v0.9 \"Литке\""; | ||||
|     private static final String version = "InnaIrcBot v0.9.1 \"Литке\""; | ||||
|     public static synchronized String getAppVersion(){ | ||||
|         return String.format("%s, %s %s %s", version, | ||||
|                 System.getProperty("os.name"), | ||||
|  |  | |||
|  | @ -88,7 +88,7 @@ class LinksTitleHandler implements Runnable{ | |||
|             if (title.length() > 510) | ||||
|                 title = title.substring(0, 510); | ||||
| 
 | ||||
|             StreamProvider.writeToStream(server, "PRIVMSG "+ channel +" :"+title); | ||||
|             StreamProvider.writeToStream(server, "PRIVMSG "+ channel +" :\""+title+"\""); | ||||
|         } catch (Exception e){ | ||||
|             e.printStackTrace(); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Dmitry Isaenko
						Dmitry Isaenko