Index | Thread | Search

From:
Ingo Schwarze <schwarze@usta.de>
Subject:
Re: better error reporting in ftp(1) auto_fetch()
To:
Ted Unangst <tedu@tedunangst.com>
Cc:
tech@openbsd.org
Date:
Mon, 5 May 2025 02:05:18 +0200

Download raw body.

Thread
Hi Ted,

Ted Unangst wrote on Sun, May 04, 2025 at 07:52:03PM -0400:
> On 2025-05-05, Ingo Schwarze wrote:

>> Is this already OK, or should more testing be done?

> you did not mention testing urls like file:///etc/passwd,
> but they still work, so ok.

Indeed, because the strncasecmp(FILE_URL) diverts them into file_get()
way before reaching the second chunk, sorry for not mentioning that.

Thanks Ted for reviewing and testing!
  Ingo