Files @ a93c07ade43a
Branch filter:

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

Marcin Kuzminski
Added huge diff protection for RSS/ATOM feeds.
It can really be a performance killer for huge diffs.


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.
    """