You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by sebbASF <gi...@git.apache.org> on 2016/09/23 16:41:39 UTC

[GitHub] incubator-ponymail issue #135: Bug: import-mbox.py does not handle protocol ...

GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/135

    Bug: import-mbox.py does not handle protocol choice well

    import-mbox.py currently allows input from http(s), imap(s) or file.
    
    However the --source parameter checks are very crude.
    
    If the parameter begins with '/' or '.', it assumes file:
    If 'h' => http(s)
    If 'i' => imap(s)
    Anything else is silently ignored.
    
    It would be better to check for http[s]: or imap[s]: and assume anything else is a file.
    It should also check if the parameter is a valid file or a directory to allow import of a single file.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-ponymail issue #135: Bug: import-mbox.py does not handle protocol ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the issue at:

    https://github.com/apache/incubator-ponymail/issues/135


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---