|
@@ -141,7 +141,7 @@ |
|
|
block discarded – undo |
|
141
|
141
|
// Offload cleaning up the packets if they happen to be split |
|
142
|
142
|
$packets = $this->cleanPackets(array_values($processed)); |
|
143
|
143
|
|
|
144
|
|
- // Fix: when server name contains string "\u0000" - query fails. |
|
|
144
|
+ // Fix: when server name contains string "\u0000" - query fails. |
|
145
|
145
|
// "\u0000" also separates properties from server, so we are |
|
146
|
146
|
// replacing double "\u0000" in server response. |
|
147
|
147
|
$packets = preg_replace("/(\\x00){2,}gametype/","\x00gametype", implode('', $packets)); |
Please login to merge, or discard this patch.