Extension:Wget Authentication edit

$auth .= $username.":".$password."@";

In this line, I think we should do escaping first, like this:

$auth .= urlencode($username).":".urlencode($password)."@";

Just in case that username and/or password contain ':' and/or '@'. --Liangent 16:49, 17 August 2009 (UTC)Reply



Good idea. Thanks. =) --Darkbeethoven 14:54, 28 September 2009 (UTC)Reply