ayende/ravendb — comment on commit da385ae513a328e34ca1e9640119000b82662786
File:  line 0
By asgerhallas:

The bug should only be a problem where where either JsonConvert.SerializeObject() is used directly or where JsonSerializer.Serialize() is used with a JsonTextWriter().

It seems that all usage with externally defined objects are using RavenJToken.WriteTo/RavenJTokenWriter where Uris are written as strings, circumventing the bug. And all other places are serializing internal objects (indexes, requests, http errors and the like), that does not have any Uris in them.