mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-30 23:15:32 +01:00 
			
		
		
		
	Chat weblink: remove comma as delimiter (#12730)
This commit is contained in:
		| @@ -364,7 +364,7 @@ u32 ChatBuffer::formatChatLine(const ChatLine& line, u32 cols, | |||||||
| 
 | 
 | ||||||
| 				// Chars to mark end of weblink
 | 				// Chars to mark end of weblink
 | ||||||
| 				// TODO? replace this with a safer (slower) regex whitelist?
 | 				// TODO? replace this with a safer (slower) regex whitelist?
 | ||||||
| 				static const std::wstring delim_chars = L"\'\";,"; | 				static const std::wstring delim_chars = L"\'\";"; | ||||||
| 				wchar_t tempchar = linestring[in_pos+frag_length]; | 				wchar_t tempchar = linestring[in_pos+frag_length]; | ||||||
| 				while (frag_length < remaining_in_input && | 				while (frag_length < remaining_in_input && | ||||||
| 						!iswspace(tempchar) && | 						!iswspace(tempchar) && | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user