tinganho / node-accept-language

BCP47 language negotiation
MIT License
85 stars 15 forks source link

Changing a NBSP character to an actual space - found by random mistake #7

Closed jeffhandley closed 9 years ago

jeffhandley commented 9 years ago

After inadvertently including this module in JavaScript sent to the browser, I saw that there was a character code 160 (NBSP) at this position--the browser barfed on it.

This is the only character 160 in the file; I've replaced it with a regular space (character 32).