ejfinneran / ratelimit

A Redis-backed rate limiter written in Ruby
MIT License
257 stars 55 forks source link

Unicode emojis broken #34

Closed tbem closed 5 years ago

tbem commented 5 years ago

I'm using rate limit to limit the requests to onesignal. When i use the method exec_within_threshold passing the create_notification inside the block. The unicode emojis sent to onesignal got broken. I tried to figured out on the gem why this was happening, and didn't find anything that could point me to the problem. Is there some json parsing during the process?

tbem commented 5 years ago

Forget about this one... I already found the problem and was not related with the ratelimit gem... Sorry.