summaryrefslogtreecommitdiff
path: root/op-mode-definitions/generate-public-key-command.xml.in
diff options
context:
space:
mode:
authorerkin <e.altunbas@vyos.io>2021-06-20 15:08:25 +0300
committererkin <e.altunbas@vyos.io>2021-06-20 15:08:25 +0300
commit79ce4caf051ce30914ee3d08f1bd23753bf06af1 (patch)
tree4224531531895308447914640bb2b06133f4d64e /op-mode-definitions/generate-public-key-command.xml.in
parent72c92a5d3162f5f1081dc831a81b19ea1686f366 (diff)
downloadvyos-1x-79ce4caf051ce30914ee3d08f1bd23753bf06af1.tar.gz
vyos-1x-79ce4caf051ce30914ee3d08f1bd23753bf06af1.zip
Use `CDATA` to quote URL templates
Diffstat (limited to 'op-mode-definitions/generate-public-key-command.xml.in')
-rw-r--r--op-mode-definitions/generate-public-key-command.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/generate-public-key-command.xml.in b/op-mode-definitions/generate-public-key-command.xml.in
index b50b432b8..21f0f56f0 100644
--- a/op-mode-definitions/generate-public-key-command.xml.in
+++ b/op-mode-definitions/generate-public-key-command.xml.in
@@ -9,7 +9,7 @@
<children>
<tagNode name="user">
<properties>
- <help>Username of public key owner</help>
+ <help>Username of public key owner</help>
<completionHelp>
<list>&lt;username&gt;</list>
</completionHelp>
@@ -17,9 +17,9 @@
<children>
<tagNode name="path">
<properties>
- <help>Local path or remote URL of OpenSSH public key</help>
+ <help>Local path or remote URL of OpenSSH public key</help>
<completionHelp>
- <list>&lt;http[s]://[&lt;username&gt;:&lt;password&gt;@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;ftp://[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;tftp://&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;sftp://[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;scp://[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;/&lt;path-to-file&gt;&gt; &lt;[file://]/&lt;path-to-file&gt;&gt;</list>
+ <list><![CDATA[<http[s]://[<username>:<password>@]<hostname>/<path-to-file>> <ftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <tftp://<hostname>/<path-to-file>> <sftp://[<username>[:<password>]@]<hostname>/<path-to-file>> <scp://[<username>[:<password>]@]<hostname>/<path-to-file>> <[file://]/<path-to-file>>]]></list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/generate_public_key_command.py "$4" "$6"</command>