Wolfgang Dautermann
Mon, 02 Oct 2006 13:31:55 -0700
URL: <http://savannah.nongnu.org/bugs/?17904> Summary: FieldOrder affects AddressModifyCode Project: MHonArc Submitted by: dauti Submitted on: Monday 10/02/2006 at 22:31 Category: Resources Severity: 3 - Normal Item Group: Undesired Behavior Status: None Privacy: Public Assigned to: None Open/Closed: Open Operating System: All Perl Version: 5.8.7 Component Version: 2.6.16 Fixed Release: _______________________________________________________ Details: I found out, that the ressource "FieldOrder" affects the behaviour of "AddressModifyCode". A small example: $ cat t1 Message-ID: <[EMAIL PROTECTED]> Date: Wed, 27 Sep 2006 11:15:54 +0200 Testbody $ cat test-without-fieldorder.mrc <AddressModifyCode> s/@/*AT*/; </AddressModifyCode> <Excs Override> </Excs> then $ mhonarc -rcfile test-without-fieldorder.mrc t1 creates a msg00000.html file with: <li><em>Message-id</em>: <<a href="msg00000.html">[EMAIL PROTECTED]</a>></li> Correct. A Message-Id is no address and in mhutil.pl is specified, that the Message-Id should not be modified. However - if I modify the Ressourcefile by adding a "Fieldorder"-ressource: $ cat test-with-fieldorder.mrc <AddressModifyCode> s/@/*AT*/; </AddressModifyCode> <Excs Override> </Excs> <FieldOrder> Date Message-ID References </FieldOrder> Then $ mhonarc -rcfile test-with-fieldorder.mrc t1 creates a msg00000.html file with: <li><em>Message-id</em>: <<a href="mailto:testid-no-real-address%40example.com">testid-no-real-address*AT*example.com</a>></li> Now <AddressModifyCode> modifies the Messageid (and I get a Mailto:-Link instead of the link to the HTML-File). (And by the way: a reference is no mail address, that field should be included in %HFieldsAsIsList in mhutil.pl) _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?17904> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/ --------------------------------------------------------------------- To sign-off this list, send email to [EMAIL PROTECTED] with the message text UNSUBSCRIBE MHONARC-DEV