Files @ 3f0fe158dc0c
Branch filter:

Location: kallithea/rhodecode/lib/rcmail/exceptions.py

philip.j@hostdime.com
Added uri encoding to the username so that usernames with '@' in them (such as email address/users from LDAP) will
not have to replace the first '@' with %40 in order to clone


class InvalidMessage(RuntimeError):
    """
    Raised if message is missing vital headers, such
    as recipients or sender address.
    """


class BadHeaders(RuntimeError):
    """
    Raised if message contains newlines in headers.
    """