]> git.ipfire.org Git - thirdparty/grub.git/commit
tftp: Normalize slashes in TFTP paths
authorLenny Szubowicz <lszubowi@redhat.com>
Thu, 31 Oct 2019 10:33:39 +0000 (11:33 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 6 Dec 2019 19:26:36 +0000 (20:26 +0100)
commite2c09aed97e8e71efa083e21ef365c92c36e3185
tree720f0263a72ec2d7be7d7f6cd6931d7b8f408c25
parent5e5a15872d9e5e7d62a38de426aa35f2b91c2140
tftp: Normalize slashes in TFTP paths

Some TFTP servers do not handle multiple consecutive slashes correctly.
This patch avoids sending TFTP requests with non-normalized paths.

Signed-off-by: Lenny Szubowicz <lszubowi@redhat.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/net/tftp.c