peterbourgon / diskv

A disk-backed key-value store.
http://godoc.org/github.com/peterbourgon/diskv
MIT License
1.41k stars 102 forks source link

Return a bad key error when a key contains the path separator #38

Closed theothertomelliott closed 7 years ago

theothertomelliott commented 7 years ago

Provides an idea of what might be wrong.

peterbourgon commented 7 years ago

Hmm, seems okay, I can't think of any reason someone would want to "hack" a key name like this, given they have to provide a TransformFunc. Thanks!