Skip to content

Commit

Permalink
[FIX] urlencode
Browse files Browse the repository at this point in the history
  • Loading branch information
Timo Litzbarski committed Aug 26, 2019
1 parent 8ea13dd commit ee6de8c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Asset/Javascript/GraphBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $(document).ready(function() {
network.on("selectNode", function (params) {
if (params.nodes.length === 1) {
var node = nodes.get(params.nodes[0]);
window.open(node.url, '_blank');
window.open(decodeURIComponent(node.url), '_blank');
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion Controller/Relationgraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function traverseGraph(&$graph, $task)
'priority' => $task['priority'],
'assignee' => $task['assignee_name'] ?: $task['assignee_username'],
'color' => $this->colorModel->getColorProperties($task['color_id']),
'url' => $this->helper->url->to('TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']))
'url' => urlencode($this->helper->url->to('TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'])))
];
}

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugin=Relationgraph
version=0.3.0
version=0.3.1

all:
@ echo "Build archive for plugin ${plugin} version=${version}"
Expand Down
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function getPluginAuthor()

public function getPluginVersion()
{
return '0.3.0';
return '0.3.1';
}

public function getPluginDescription()
Expand Down

0 comments on commit ee6de8c

Please sign in to comment.