Commit 38dbc4d4 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

ui: Fix windows rdp template

properly set port within the ``full address`` field when set using colon
character
parent fbe0bcf8
......@@ -35,6 +35,12 @@ gatewayprofileusagemethod:i:0
promptcredentialonce:i:1
username:s:{{ username }}
domain:s:{{ domain }} {% if port %}
port:i:{{ port }}
{% endif %}full address:s:{% if hostname %}{{ hostname }}{% else %}{{ ip_address }}{% endif %}{% if extra_content %}
port:i:{{ port }} {% endif %}
full address:s:{% spaceless %}
{% if hostname %}
{{ hostname }}{% if port %}:{{ port }}{% endif %}
{% else %}
{{ ip_address }}{% if port %}:{{ port }}{% endif %}
{% endif %}
{% endspaceless %}{% if extra_content %}
{{ extra_content }}{% endif %}
......
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