deconst / content-service

An API for storing, indexing and retrieving documentation
MIT License
4 stars 9 forks source link

Enforce content IDs as valid URLs #75

Open smashwilson opened 8 years ago

smashwilson commented 8 years ago

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."

smashwilson commented 8 years ago

Kind of related to #16.