bugMHonArc - Bugs: bug #5473, directory separator for...


You are not allowed to post comments on this tracker with your current authentication level.

bug #5473: directory separator for attachments on W2K

Submitted by:  None
Submitted on:  Mon 22 Sep 2003 11:20:26 AM UTC  
Category:  MIME Filter Severity:  2 - Minor
Priority:  3 - Low Item Group:  Incorrect Behavior
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  Win32 Perl Version:  All
Component Version:  <=2.6.8 Fixed Release:  2.6.9

Tue 30 Sep 2003 03:03:17 AM UTC, comment #2: 

Saving of attachments has been changed, with
mhonarc::write_attachment() now return the URL of the
file along with the system pathname.  The changes should
take in account of OS differences in directory separators,
which should fix this bug.

Changes have been commited to CVS.

Earl Hood <ehood>
Project Administrator
Mon 22 Sep 2003 04:56:50 PM UTC, comment #1: 

This is not a mharc bug, but a bug with mhexternal.pl of

Earl Hood <ehood>
Project Administrator
Mon 22 Sep 2003 11:20:26 AM UTC, original submission:  

At Earl Hood's request[1], I'm logging this bug report.

[1] http://www.mhonarc.org/archive/html/mhonarc-users/2003-09/msg00052.html


I'm running Mhonarc on W2K, and I'm using subdirectories for attachments.
However, the directory separator for attachments are "\", as opposed to the
path separator of "/". For example:-

The message body will have a URL of:


and an attachment - say, mydoc.doc - will have a URL of:-


The attachments can still viewed, but it would nice to have consistent
directory separators.

Thanks, njr.


Here's an example from my '-add' command. Common.mrc has the following include:




and templates/default.mrc calls:





Note, that the directory separator changes from "/" to "\" when making a
recursive all to a resource file.

mhonarc -rcfile l:/webroot/lists/test/archive/common.mrc -out
l:/webroot/lists/test/archive/2003-09 -add
l:/webroot/lists/test/archive/2003-09/mbox.raw -quiet -lockdelay=10 -locktries=3

This is MHonArc v2.6.6, Perl 5.006001 MSWin32

Reading database ...

Reading resource file: l:/webroot/lists/test/archive/common.mrc ...

Reading resource file:
l:/webroot/lists/test/archive/..\..\templates\default.mrc ...

Adding messages to l:/webroot/lists/test/archive/2003-09

Reading l:/webroot/lists/test/archive/2003-09/mbox.raw ....

Writing mail ....

Writing l:/webroot/lists/test/archive/2003-09\default.html ...

Writing l:/webroot/lists/test/archive/2003-09\thread.html ...

Writing database ...

Reading resource file: l:/webroot/lists/test/archive\../../templates/author.mrc

Writing l:/webroot/lists/test/archive/2003-09\author.html ...

Reading resource file:
l:/webroot/lists/test/archive/\../../templates/subject.mrc ...

Writing l:/webroot/lists/test/archive/2003-09\subject.html ...

1 new messages

4 total messages

RC File contains:-

<MIMEArgs override>
m2h_external::filter; inline usename usenameext useicon subdir


mhonarc -v

MHonArc v2.6.6 (Perl 5.006001 MSWin32)

Copyright (C) 1995-2003 Earl Hood, -email is unavailable-

MHonArc comes with ABSOLUTELY NO WARRANTY and MHonArc may be copied only under the terms of the GNU General Public License, which may be found in the MHonArc distribution



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.




Follow 8 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-05-07 ehood Open/ClosedOpen => Closed
    Fixed ReleaseCVS => 2.6.9
2003-09-30 ehood Fixed Release =>
2003-09-30 ehood StatusNone => (Error - Not Found)
2003-09-22 ehood Categorymharc => (Error - Not Found)
    Severity3 - Normal => (Error - Not Found)
    Perl VersionPerl 5.006001 MSWin32 =>
    Component Versionv2.6.6 =>

Back to the top

Powered by Savane 3.6