[exim-dev] [Bug 1401] New: New expansion operator ${utf8clea…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Axel Rau
Date:  
À: exim-dev
Nouveaux-sujets: [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}, [exim-dev] [Bug 1401] New expansion operator ${utf8clean}
Sujet: [exim-dev] [Bug 1401] New: New expansion operator ${utf8clean}
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1401
           Summary: New expansion operator ${utf8clean}
           Product: Exim
           Version: 4.82
          Platform: Other
               URL: https://lists.exim.org/lurker/thread/20130730.164632.e84
                    e975a.en.html#i20130730.164632.e84e975a
        OS/Version: All
            Status: NEW
          Keywords: work:tiny
          Severity: wishlist
          Priority: high
         Component: String expansion
        AssignedTo: nigel@???
        ReportedBy: axel.rau@???
                CC: exim-dev@???



Created an attachment (id=662)
--> (http://bugs.exim.org/attachment.cgi?id=662)
git format-patch against 4.82RC3

Recording of utf-8 characters from headers in mainlog and PostgreSQL DB via
lookup usually works flawlessly.

Occasionally PostgreSQL complains during INSERT of header items or main log
events (our log host uses PostgreSQL as bakend) about invalid byte sequence,
like here:

[1\3] 1V085d-00067H-9X H=mail03.noris.net [62.128.1.223] Warning: ACL "warn"
statement skipped: condition test deferred: PGSQL: query failed: ERROR: invalid
byte sequence for encoding "UTF8": 0xfc

This has been discussed here:
https://lists.exim.org/lurker/thread/20130730.164632.e84e975a.en.html#i20130730.164632.e84e975a

The attached patch against 4.82.RC3 implements a new expansion operator, which
replaces invalid utf-8 sequences by an replacement character. Testcase and
documentaion update are included.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email