Fix download log lookup by email/id
Sanitize text return
Merge pull request #2416 from ghost1227/issue/2402

Fix download log lookup by email/id