Don't throw an exception when URL includes and em dash. Fixes #1017
Test URLs with HTML entities are redirected to URLs with them decoded