Mailto links not correctly imported #10

Closed
fminov opened this Issue Feb 18, 2013 · 0 comments

Comments

Projects
None yet
2 participants

fminov commented Feb 18, 2013

Hello,

When using sqlixmlinputparser.php, mailto links including a "?subject=" are not imported.

Line :
if ( preg_match( "/^mailto:(.)/i" , $url, $mailAddr ) )
should be :
if ( preg_match( "/^mailto:([^?]
)(?:?.*)?/i" , $url, $mailAddr ) )

Sorry, not used to git and don't have time to fork, etc. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment