summaryrefslogtreecommitdiff
path: root/src/config/config.c
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2013-05-02 18:14:03 +1000
committerMichael Cahill <michael.cahill@wiredtiger.com>2013-05-02 18:14:03 +1000
commit175a1df994a984faf233803859f5e6661c37884d (patch)
tree0a446d9dd7818b7e6c3a9e42b26b2f54fd34ce3f /src/config/config.c
parentf4700113b73720701b10c2f3171f9f2ac3cd1f91 (diff)
downloadmongo-175a1df994a984faf233803859f5e6661c37884d.tar.gz
Allow unquoted config values that include slashes.
Diffstat (limited to 'src/config/config.c')
-rw-r--r--src/config/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/config.c b/src/config/config.c
index 0cb7da9ab8a..e28817b89e2 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -109,6 +109,7 @@ typedef enum {
* ['0' ... '9'] = &&l_numbare,
* ['_'] = &&l_bare,
* ['A' ... 'Z'] = &&l_bare, ['a' ... 'z'] = &&l_bare,
+ * ['/'] = &&l_bare,
* };
*/
static const int8_t gostruct[256] = {
@@ -117,7 +118,7 @@ static const int8_t gostruct[256] = {
A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_BAD,
A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_LOOP, A_BAD, A_QUP,
A_BAD, A_BAD, A_BAD, A_BAD, A_BAD, A_UP, A_DOWN, A_BAD, A_BAD,
- A_NEXT, A_NUMBARE, A_BAD, A_BAD, A_NUMBARE, A_NUMBARE,
+ A_NEXT, A_NUMBARE, A_BAD, A_BARE, A_NUMBARE, A_NUMBARE,
A_NUMBARE, A_NUMBARE, A_NUMBARE, A_NUMBARE, A_NUMBARE,
A_NUMBARE, A_NUMBARE, A_NUMBARE, A_VALUE, A_BAD, A_BAD,
A_VALUE, A_BAD, A_BAD, A_BAD, A_BARE, A_BARE, A_BARE, A_BARE,