deconst/content-service

Enforce content IDs as valid URLs

Opened this issue · 1 comments

Fail content storage operations with content IDs that are not valid, parseable URLs. Node's url.parse() is pretty permissive so we'll probably want to enforce stronger guarantees, like "has a scheme and hostname."

Kind of related to #16.