Thanks for your response Jens.

I tried it with the properly encoded URL, but it also failed to find the 
database.

I've filed a bug report:

https://github.com/couchbase/couchbase-lite-ios/issues/1295

Thanks,

Brendan

On Wednesday, June 15, 2016 at 11:36:01 AM UTC-6, Jens Alfke wrote:
>
> 😱 Oog. Slashes in database names are problematic. I mean, they’re 
> perfectly *legal*, but they tend to expose implementation bugs where URL 
> paths aren’t being handled 100% correctly. It’s not the first time we’ve 
> had bugs involving them, and this definitely sounds like a bug in the 
> replicator.
>
> I tried encoding the slash character in the database name (e.g. 
> username%2Fdatabasename but that just gave me some not found errors.
>
>
> The correct URL is <
> https://myusername.cloudant.com/username%2Fdatabasename>. (If the “/“ 
> weren't escaped, the URL would refer to a document ‘databasename' in a 
> database named ‘username’.)
>
> Could you file a bug report on Github, please?
>
> —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/8219e6bd-2277-49f3-bbbf-79278420f0fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to