Fixed issue #7827: Ampersands in end url are encoded for non-admins