This looks like a Sync Gateway bug: a "+" in a URL gets interpreted as a space, 
even if it's escaped as %2b.

$ http PUT ':4984/db/x%2bx' a=b
HTTP/1.1 201 Created
Content-Length: 65
Content-Type: application/json
Date: Fri, 11 Jul 2014 21:25:38 GMT
Etag: 1-a154bf18a4d64ee6d93b6cc838b2b344
Server: Couchbase Sync Gateway/1.00

{
    "id": "x x", 
    "ok": true, 
    "rev": "1-a154bf18a4d64ee6d93b6cc838b2b344"
}

It's probably some weird behavior with Go's URL parser. I'll file an issue.

(And I should probably tweak the new doc UUID generator (which isn't ForestDB 
specific) to use a URL-safe character set.)

--Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/89EEE042-C995-45DA-AF1A-1EEF5E54082A%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to