Issue #1244072 by ianthomas_uk: Use of tokens in external URL redirect locations not allowed in some cases and not URL Encoded.