function _background_process_secure_url in Background Process 7.2
Same name and namespace in other branches
- 8 background_process.module \_background_process_secure_url()
- 6 background_process.module \_background_process_secure_url()
- 7 background_process.module \_background_process_secure_url()
Secure a URL by obfuscating the password if present.
Parameters
$url:
Return value
string URL
File
- ./
background_process.http.inc, line 494 - This contains the HTTP functions for Background Process.
Code
function _background_process_secure_url($url) {
$url = parse_url($url);
if (!empty($url['pass'])) {
$url['pass'] = 'XXXXXXXX';
}
return _background_process_unparse_url($url);
}