Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

APNS doesn't work with long message #156

Closed
shimomura1004 opened this issue Dec 22, 2013 · 1 comment
Closed

APNS doesn't work with long message #156

shimomura1004 opened this issue Dec 22, 2013 · 1 comment

Comments

@shimomura1004
Copy link
Member

This expression causes an error:

strip("\u1234\u2345", 13)
JSON::ParserError: 399: unexpected token at '"\u1234\u2345]'
    from /Users/sho/AsakusaSatellite/.bundle/ruby/2.0.0/gems/json_pure-1.6.1/lib/json/common.rb:148:in `parse'
    from /Users/sho/AsakusaSatellite/.bundle/ruby/2.0.0/gems/json_pure-1.6.1/lib/json/common.rb:148:in `parse'
    from (irb):18:in `strip'
    from (irb):111
    from /Users/sho/AsakusaSatellite/.bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/commands/console.rb:47:in `start'
    from /Users/sho/AsakusaSatellite/.bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/commands/console.rb:8:in `start'
    from /Users/sho/AsakusaSatellite/.bundle/ruby/2.0.0/gems/railties-3.2.14/lib/rails/commands.rb:41:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
banjun added a commit to banjun/AsakusaSatellite that referenced this issue Dec 22, 2013
shimomura1004 added a commit that referenced this issue Dec 22, 2013
fix ASIPhoneNotifier.strip parse error at double-quote refs #156
@shimomura1004
Copy link
Member Author

🆒

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant