XML Importer
From XML to entries in an instant
New#8: Does not like dashes in URL's
This looks like a PHP bug, in its filter_var function:
https://bugs.php.net/bug.php?id=51192
That thread claims that it's fixed as of PHP v5.3.3.
Since I'm importing from a URL that has a hyphen, and don't feel like bothering the sys admins to update PHP, I just commented out the URL verification condition in content.importers.php:
else if (!filtervar($fields['source'], FILTERVALIDATE_URL)) { ... }
(line 268 - 270 in my repo).
This issue should probably be closed, as it's a fixed PHP bug.
Saving an entry fails if you have a dash (-) in your URL and a “Source is not a valid URL” error is returned.