Bug 6248

Summary: TFTP fetch-url inserts superflous slash in remote file
Product: Busybox Reporter: Mathias Bogaert <mathias.bogaert>
Component: NetworkingAssignee: unassigned
Status: RESOLVED INVALID    
Severity: critical CC: busybox-cvs
Priority: P5    
Version: 1.19.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Mathias Bogaert 2013-05-11 18:43:56 UTC
The TFTP fetch-url script inserts a slash in front of the remote file. This breaks certain TFTP servers with 'access violation'. Since TFTP expects the path to start at root, the slash is not necessary and can be removed.

so the line 
> remote_file="/$(echo $url | cut -d/ -f 4-)"

should be 
> remote_file="$(echo $url | cut -d/ -f 4-)"
Comment 1 Denys Vlasenko 2013-05-11 23:30:10 UTC
(In reply to comment #0)
> The TFTP fetch-url script inserts a slash in front of the remote file.

What is "TFTP fetch-url script"? Where is it? I found nothing like this in busybox.
Comment 2 Mathias Bogaert 2013-05-12 10:02:02 UTC
Sorry, this bug should have been logged against debian-installer-utils. I thought that the script was part of busybox. Closing.
Comment 3 Mathias Bogaert 2013-05-26 11:02:12 UTC
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=707955