[Bug 6248] New: TFTP fetch-url inserts superflous slash in remote file

bugzilla at busybox.net bugzilla at busybox.net
Sat May 11 18:44:11 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6248

           Summary: TFTP fetch-url inserts superflous slash in remote file
           Product: Busybox
           Version: 1.19.x
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: mathias.bogaert at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


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-)"

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list