[BACK]Return to fetch.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ftp

Diff for /src/usr.bin/ftp/fetch.c between version 1.167 and 1.167.6.1

version 1.167, 2018/02/10 06:25:16 version 1.167.6.1, 2019/12/19 16:49:47
Line 241 
Line 241 
         } else          } else
                 errx(1, "url_get: Invalid URL '%s'", newline);                  errx(1, "url_get: Invalid URL '%s'", newline);
   
           if (isfileurl && redirect_loop > 0)
                   errx(1, "Redirection to local file not permitted");
   
         if (isfileurl) {          if (isfileurl) {
                 path = host;                  path = host;
         } else {          } else {

Legend:
Removed from v.1.167  
changed lines
  Added in v.1.167.6.1