The Cone Trees network The UX Bookmark UX Quotes UX Jobs in Singapore Nice one yeah!

How to enter a password with a slash character in settings.php

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’