If you’re want to the following characters in your password for the settings.php file in Drupal, you need to escape them.
- : (colon, or operator). Escape using ‘%3a’
- + (addition, plus). Escape using ‘%2b’
- ? (question mark). Escape using ‘%3f’
- / (slash, forward slash). Escape using ‘%2f’
- @ (at the rate). Escape using ‘%40′
- ( (round bracket). Escape using ‘= %28′
- ) (round bracket). Escape using ‘%29′
- = (equal to). Escape using ‘%3d’
- & (ampersand, and operator). Escape using ‘%26′