Minor Sanitize::escape() update

If the Datasource is not going to be used, do access it.
Merge pull request #1529 from styxit/master

Minor Sanitize::escape() update