mhonarc-dev

[bug #17904] FieldOrder affects AddressModifyCode

2006-10-02 13:31:17

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: <testid-no-real-address(_at_)example(_dot_)com>
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>: &lt;<a
href="msg00000.html">testid-no-real-address(_at_)example(_dot_)com</a>&gt;</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>: &lt;<a
href="mailto:testid-no-real-address%40example.com";>testid-no-real-address*AT*example.com</a>&gt;</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 majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV

<Prev in Thread] Current Thread [Next in Thread>
  • [bug #17904] FieldOrder affects AddressModifyCode, Wolfgang Dautermann <=