Looks good and works well, but we should have a unit test. Especially since regular expressions are involved - easy for those to go wrong :)
--- ** [tickets:#7160] Trac-Tickets Importer Rejects URL Containing IP Address [ss6716]** **Status:** in-progress **Milestone:** forge-backlog **Labels:** p3 support 42cc trac import **Created:** Mon Feb 10, 2014 08:26 PM UTC by Chris Tsai **Last Updated:** Tue Mar 04, 2014 09:12 PM UTC **Owner:** nobody [forge:site-support:#6716] >I receive the following message.. >'That is not a valid URL' >...when attempting to import tickets from a Trac project URL whose domain is >an IP address. --- Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.