Trim URL before attempting to download it
will prevent issues eg http://forum.piwik.org/read.php?2,118158