singlebrook / utf8-cleaner

MIT License
277 stars 44 forks source link

Allow developers to detect modified input #12

Open sbleon opened 10 years ago

sbleon commented 10 years ago

It would be good to allow developers to choose how they handle invalid input. We could set a header called X-utf8-cleaner-modified-input. This would allow developers to be strict if they wanted and present an error to the client.