We are trying to use curl in PHP5 to login to a website using basic authentication.
Partial code is like this:
...
$uname = \"username\";
$pass
so it turns out that it wasn't a problem with the colon.... it was a problem with the authentication scheme.
at first we were using:
curl_setopt($curl_conn, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
and changing to:
curl_setopt($curl_conn, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
fixed the problem.
Our test against another server had its flaws - the server that worked was running IIS on windows, the production server we were having problems with was running apache on linux.
So i repeat: there are apparently no issues with using usernames or passwords that contain colons with curl. this explains why there would be no documentation of this problem.
sorry for jumping to conclusions, and thanks for the help.