Gossamer Forum
Home : Products : Gossamer AutoRespond : Discussion :

Bug in entering subject for message

Quote Reply
Bug in entering subject for message
If you enter a subject line for a message with a quotation mark: " A bug presents itself when you go back to edit the subject line.

When Autorespond displays the form for editing the message it does not change the " to a "

This makes it so the field for the subject line only has the data up to the first "
Quote Reply
Re: [PERydell] Bug in entering subject for message In reply to
This bug can be fixed by going to the file:

Autoresponders.pm found in the private/AutoRes/ directory.

Find the sub edit_messasges_form

and under the line:

$msg->{HTML_Message_esc} = $IN->html_escape($msg->{HTML_Message});

add the line:
$msg->{Subject} = $IN->html_escape($msg->{Subject});

Mel
Mel Goulet
Developer - Gossamer Threads, Inc.
Quote Reply
Re: [Mel_g] Bug in entering subject for message In reply to
Here is that sub from my version. The headers say it is version 1.10 2002/03/21 01:16:21.

Can you tell me what to edit here. Thanks.



sub edit_message_form {
# ------------------------------------------------------------------
# Displays the form which allows you to edit the autoresponder info

my $in = $IN->get_hash;
if (!own_message($in->{AutoresID})) {
display_messages_form(AutoRes::language('AUTORESPONDER_NO_OWN'));
return;
}
my $msg = $DB->table('Autoresponders')->get($in->{AutoresID});
html_edit_message_form({%$in,%$msg});
}
Quote Reply
Re: [PERydell] Bug in entering subject for message In reply to
Put it after this line:

my $msg = $DB->table('Autoresponders')->get($in->{AutoresID});

Mel
Mel Goulet
Developer - Gossamer Threads, Inc.
Quote Reply
Re: [Mel_g] Bug in entering subject for message In reply to
This doesn't appear to have any affect.
Quote Reply
Re: [PERydell] Bug in entering subject for message In reply to
Could you send me login information to your server and admin access to the autoresponder? Send it to mel@gossamer-threads.com

Thanks,

Mel
Mel Goulet
Developer - Gossamer Threads, Inc.