Created
December 22, 2017 03:44
-
-
Save smokris/a22dab24da11859285785e43313ee845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php b/src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php | |
index 1cb0f107a..d54877cee 100644 | |
--- a/src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php | |
+++ b/src/applications/diffusion/protocol/DiffusionSubversionWireProtocol.php | |
@@ -37,7 +37,7 @@ final class DiffusionSubversionWireProtocol extends Phobject { | |
$match = null; | |
$result = null; | |
$buf = $this->buffer; | |
- if (preg_match('/^([a-z][a-z0-9-]*)\s/i', $buf, $match)) { | |
+ if (preg_match('/^([a-z][a-z0-9-]*)\s+/i', $buf, $match)) { | |
$this->pushItem($match[1], 'word'); | |
} else if (preg_match('/^(\d+)\s/', $buf, $match)) { | |
$this->pushItem((int)$match[1], 'number'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment