Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Chris G. Demetriou <cgd@netbsd.org>
List: source-changes
Date: 07/03/1999 02:02:24
Module Name: basesrc
Committed By: cgd
Date: Sat Jul 3 09:02:24 UTC 1999
Modified Files:
basesrc/distrib/utils/sysinst: net.c
Log Message:
From Alan Barrett <apb@iafrica.com>, in response to my response to his PR:
>Removing leading slashes in the url_encode() function is bad, because
>they might be part of a password, but somebody else had apparently made
>url_encode() do that. Here's a patch that stops url_encode() from
>removing leading slashes, changes the encode_leading_slash code to
>fit in with that policy, adds some comments that should dissuade folk
>from removing leading slashes in the future, and fixes a bug where the
>encode_leading_slash code was not decrementing len.
To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 basesrc/distrib/utils/sysinst/net.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.