summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-06-05 16:36:44 +0300
committerGitHub <noreply@github.com>2026-06-05 16:36:44 +0300
commitc7645d6ac98cc62636d15917192c17e8aadc1596 (patch)
tree123929fb57a80c829cb4a5acb686bbc1f0bf3faa /python
parent5ca799ae86e46ae3f482d698acf9a340d312f644 (diff)
parent98bea7f563896531914eb517281af9d04819dfaf (diff)
downloadvyos-1x-c7645d6ac98cc62636d15917192c17e8aadc1596.tar.gz
vyos-1x-c7645d6ac98cc62636d15917192c17e8aadc1596.zip
Merge pull request #5250 from vyos/fix/T8956-remote-url-credential-leak
remote: T8956: stop leaking URL credentials in TftpC.upload()
Diffstat (limited to 'python')
-rw-r--r--python/vyos/remote.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/vyos/remote.py b/python/vyos/remote.py
index b69e8d32b..3be87e179 100644
--- a/python/vyos/remote.py
+++ b/python/vyos/remote.py
@@ -476,7 +476,6 @@ class TftpC:
vrf=self.vrf).encode())
def upload(self, location: str):
- print(f'{self.command} "{self.urlstring}"')
with open(location, 'rb') as f:
cmd(f'{self.command} --upload-file - "{self.urlstring}"',
input=f.read(), vrf=self.vrf)