OpenBSD CVS

CVS log for src/usr.bin/ftp/fetch.c


[BACK] Up to [local] / src / usr.bin / ftp

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_5_7


Revision 1.138.2.1 / (download) - annotate - [select for diffs], Tue Feb 2 19:47:38 2016 UTC (8 years, 4 months ago) by martijn
Branch: OPENBSD_5_7
Changes since 1.138: +4 -2 lines
Diff to previous 1.138 (colored) next main 1.139 (colored)

Backport fix for crash when non-standard newline is returned.

OK sthen@ and beck@

Revision 1.138 / (download) - annotate - [select for diffs], Fri Feb 27 17:38:19 2015 UTC (9 years, 3 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE
Branch point for: OPENBSD_5_7
Changes since 1.137: +5 -3 lines
Diff to previous 1.137 (colored)

Fix URL-encoding of characters with the high order bit set.

Before/after:
127.0.0.1 - - [25/Feb/2015:09:39:24 +0100] "GET /h%ff%ffh%ff%ff.dat HTTP/1.0" 404 162 "-" "OpenBSD ftp"
127.0.0.1 - - [25/Feb/2015:09:39:27 +0100] "GET /h%c3%a9h%c3%a9.dat HTTP/1.0" 200 0 "-" "OpenBSD ftp"

Additionnally, avoid one case of undefined behaviour with ctype.h.

Input from guenther@, ok millert@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.