[Issue #166] Datasource Error When Password Contains &#

[Just copying here from the Issues list
https://bitbucket.org/lucee/lucee/issue/166/datasource-error-when-password-contains
.]

I migrated a server from Railo to Lucee and had a datasource that returned
an error.

When I went in to the datasource settings, clicked the “Verify connection”
checkbox, then clicked “Update”, the datasource status returns “OK”.

But if I then select the datasource on the “Services - Datasource” page and
click “Verify”, it returns “Error”. Mousing over the error displays an
“Access denied for user” message.

The datasource with this password worked in Railo 4.2.2.004 but fails in
Lucee 4.5.1.004.

Workaround:

The password for the datasource contained the string “&#”. Resetting the
password to a value that does not contain “&#” solves the problem.