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

Commit

Permalink
Sanitize node and virtual host names
Browse files Browse the repository at this point in the history
(cherry picked from commit 7cfcb35)
  • Loading branch information
michaelklishin committed Oct 25, 2019
1 parent 1ae889a commit 7dfd6f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions priv/www/js/tmpl/federation.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
<td>
<form action="#/federation-restart-link" method="delete" class="confirm">
<input type="hidden" name="id" value="<%= link.id %>"/>
<input type="hidden" name="node" value="<%= link.node %>"/>
<input type="hidden" name="vhost" value="<%= link.vhost %>"/>
<input type="hidden" name="node" value="<%= fmt_node(link.node) %>"/>
<input type="hidden" name="vhost" value="<%= fmt_string(link.vhost) %>"/>
<input type="submit" value="Restart"/>
</form>
</td>
Expand Down

0 comments on commit 7dfd6f9

Please sign in to comment.