CVSROOT: /cvs Module name: src Changes by: k...@cvs.openbsd.org 2021/11/09 05:14:35
Modified files: usr.bin/ftp : fetch.c Log message: Print actually requested URLs Encoding URL paths changes the requested URL and therefore may yield different responses (opposed to an unencoded URL), solely depending on how the server implements de/encoding. Always print the encoded URL which actually gets requested in output like "Requesting ..." and erors likes "Error retrieving ....: 404 Not Found" and don't use the original URL provided on the command line. This matches exactly what is seen on the wire, e.g. with tshark(1) and helps debugging URL de/encoding related (server) issues. Feedback OK sthen