ponymail-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebbASF <...@git.apache.org>
Subject [GitHub] incubator-ponymail issue #135: Bug: import-mbox.py does not handle protocol ...
Date Fri, 23 Sep 2016 16:41:39 GMT
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.
---

Mime
View raw message