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 17:02:30 +0300
committererkin <e.altunbas@vyos.io>2021-06-20 17:02:30 +0300
commit04a088bb2f96b6f5b00ff0acb4218850384d5a25 (patch)
tree4224531531895308447914640bb2b06133f4d64e /op-mode-definitions/generate-public-key-command.xml.in
parenta80510875d1b44c83ac6104629460019db57aca9 (diff)
downloadvyos-1x-04a088bb2f96b6f5b00ff0acb4218850384d5a25.tar.gz
vyos-1x-04a088bb2f96b6f5b00ff0acb4218850384d5a25.zip
Use `CDATA` to quote URL templates (redux)
Diffstat (limited to 'op-mode-definitions/generate-public-key-command.xml.in')
-rw-r--r--op-mode-definitions/generate-public-key-command.xml.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/op-mode-definitions/generate-public-key-command.xml.in b/op-mode-definitions/generate-public-key-command.xml.in
index 7920acffd..21f0f56f0 100644
--- a/op-mode-definitions/generate-public-key-command.xml.in
+++ b/op-mode-definitions/generate-public-key-command.xml.in
@@ -19,8 +19,7 @@
<properties>
<help>Local path or remote URL of OpenSSH public key</help>
<completionHelp>
- <!-- TODO: Replace this mess with verbatim, readable text. Till then, may gods have mercy. -->
- <list>&lt;http[s]:&#47;&#47;[&lt;username&gt;:&lt;password&gt;@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;ftp:&#47;&#47;[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;tftp:&#47;&#47;&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;sftp:&#47;&#47;[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;scp:&#47;&#47;[&lt;username&gt;[:&lt;password&gt;]@]&lt;hostname&gt;&#47;&lt;path-to-file&gt;&gt; &lt;[file:&#47;&#47;]&#47;&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>