[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.184 and 1.185

version 1.184, 2019/12/09 19:05:06 version 1.185, 2019/12/19 00:07:20
Line 258 
Line 258 
         } 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.184  
changed lines
  Added in v.1.185