flatiron / restful

reflect RESTful Director routers from Resourceful resources
237 stars 48 forks source link

router/server not utf-8 safe #42

Open okdistribute opened 10 years ago

okdistribute commented 10 years ago

https://github.com/flatiron/restful/blob/445b799dd93efe83fc864abfb300e8a60eed076a/lib/restful.js#L60

Some utf-8 strings can be much longer than just the chunk. You should push them all onto an array and then concatenate them at the end.