[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.172 and 1.172.2.1

version 1.172, 2019/10/09 16:43:22 version 1.172.2.1, 2019/12/19 16:50:22
Line 243 
Line 243 
         } 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.172  
changed lines
  Added in v.1.172.2.1