diff options
author | erkin <e.altunbas@vyos.io> | 2021-06-20 17:02:30 +0300 |
---|---|---|
committer | erkin <e.altunbas@vyos.io> | 2021-06-20 17:02:30 +0300 |
commit | 04a088bb2f96b6f5b00ff0acb4218850384d5a25 (patch) | |
tree | 4224531531895308447914640bb2b06133f4d64e /op-mode-definitions/generate-public-key-command.xml.in | |
parent | a80510875d1b44c83ac6104629460019db57aca9 (diff) | |
download | vyos-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.in | 3 |
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><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> + <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> |