mhonarc-dev

[bug #5473] directory separator for attachments on W2K

2003-09-22 04:22:25
=================== BUG #5473: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5473&group_id=1968

Submitted by: None                    Project: MHonArc                      
Submitted on: Mon 09/22/2003 at 07:20
Category:  mharc                      Severity:  5 - Major                  
Bug Group:  Incorrect Behavior        Resolution:  None                     
Assigned to:  None                    Status:  Open                         
Platform Version:  Win32              Perl Version:  Perl 5.006001 MSWin32  
Component Version:  v2.6.6            Fixed Release:                        

Summary:  directory separator for attachments on W2K

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

Details:-

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:

http://server/lists/test/archive/2003-09/msg0002.html

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

http://server/lists/test/archive/2003-09/msg0002mydoc.doc

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:

<include>

../../templates/default.mrc

</include>

and templates/default.mrc calls:

<OTHERINDEXES>

../../templates/author.mrc

../../templates/subject.mrc

</OTHERINDEXES>

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/....templatesdefault.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-09default.html ...

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

Writing database ...

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

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

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

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

1 new messages

4 total messages

RC File contains:-

<MIMEArgs override>
text/plain;maxwidth=100
m2h_external::filter; inline usename usenameext useicon subdir
</MIMEArgs>

VERSION STUFF:-

mhonarc -v

MHonArc v2.6.6 (Perl 5.006001 MSWin32)

Copyright (C) 1995-2003 Earl Hood, mhonarc(_at_)mhonarc(_dot_)org

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 Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=5473&group_id=1968

_______________________________________________
  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>