You are here

function _background_process_secure_url in Background Process 8

Same name and namespace in other branches
  1. 6 background_process.module \_background_process_secure_url()
  2. 7.2 background_process.http.inc \_background_process_secure_url()
  3. 7 background_process.module \_background_process_secure_url()

Secure a URL by obfuscating the password if present.

1 call to _background_process_secure_url()
background_process_determine_and_save_default_service_host in ./background_process.module
Implements to Determines the default service host.

File

./background_process.module, line 1360
This module implements a framework for calling funtions in the background.

Code

function _background_process_secure_url($url) {
  $url = parse_url($url);
  if (!empty($url['pass'])) {
    $url['pass'] = 'XXXXXXXX';
  }
  return _background_process_unparse_url($url);
}