anomy-list

Mangling a file - don't know why?

From: Dan Crowson (144450@xyz.molar.is)
Date: Mon 23 Jan 2006 - 20:55:28 GMT

  • Next message: Bjarni R. Einarsson: "Re: Mangling a file - don't know why?"

    Hello,

    Anomy is mangling a file name of a spreadsheet, but I can't figure out
    why. It appears to not have anything to do with the filename because I can
    rename the file to test.doc and get the same results.

    The line of code that generates the behavior is:

                 # Enforce policy, based on scan result.
                 if ($pol eq "mangle")
                 {
                     $minc = 1 unless ($minc);
                     $$fnp = $conf->{"msg_blacklisted"} .".".
    $conf->{"msg_defanged"}
      ."-".$self->{"mod_id"};
                     $$typep = "application/". $conf->{"msg_defanged"}
    ."-".$self->{"
    mod_id"};
                     $mime->{"_id"} = "<".$conf->{"msg_defanged"}
    ."-".$self->{"mod_i
    d"}.">";
                 }

    Commenting out the code fragment above "fixes" the issue.

    I can provide the file if someone can help point me in the right direction.

    Thanks,

    Dan

    --
    ---------------------------------------------------------------------------
           Dan Crowson                     |    144450@xyz.molar.is
           CMS Communications, Inc.        |    http://www.cmsc.com
           715 Goddard Ave                 |    144488@xyz.molar.is
           Chesterfield MO 63005           |    http://www.crowson.com
      ---------------------------------------------------------------------------
    



    hosted by molar.is