Commit 897e3c87 authored by Evan Prodromou's avatar Evan Prodromou

encode values when inserting into MeteorUpdater JS

parent 10ce44c2
......@@ -96,7 +96,11 @@ class MeteorPlugin extends RealtimePlugin
function _updateInitialize($timeline, $user_id)
$script = parent::_updateInitialize($timeline, $user_id);
return $script." MeteorUpdater.init(\"$this->webserver\", $this->webport, \"{$timeline}\");";
$ours = sprintf("MeteorUpdater.init(%s, %s, %s);",
return $script." ".$ours;
function _connect()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment