diff --git a/sgx-catapult.rb b/sgx-catapult.rb index ac5ab3f58a3723fb9741fa7bbd65662995efe270..5c913ec49467277a1d6d8867678c7bb4b0ab1229 100755 --- a/sgx-catapult.rb +++ b/sgx-catapult.rb @@ -477,9 +477,9 @@ module SGXcatapult ], 'tag' => # callbacks need both the id and resourcepart - WEBrick::HTTPUtils.escape(i.id) + ' ' + + WEBrick::HTTPUtils.escape(i.id.to_s) + ' ' + WEBrick::HTTPUtils.escape( - i.from.to_s.split('/', 2)[1] + i.from.to_s.split('/', 2)[1].to_s ) # TODO: add back when Bandwidth AP supports it (?); now: # "The ''messages'' resource property