Fix: Can't change "Reporter's E-mail" from gnatsweb
Warren McNeil <[email protected]> Fri, 19 Mar 2004 17:40:16 -0500
| Newsgroups | gmane.comp.bug-tracking.gnats.bugs |
|---|---|
| Message-ID | <[email protected]> |
I have stumbled across a problem with gnatsweb where I am unable to change
the Reporter's email.
The fix was to remove the single quotes around the regex pattern
^'Reply-To':
1783c1783
< if ($fields{'envelope'} =~ /^'Reply-To':/m)
---
> if ($fields{'envelope'} =~ /^Reply-To:/m)
1786c1786
< $fields{'envelope'} =~ s/^'Reply-To':.*$/'Reply-To':
$fields{'Reply-To'}/m;
---
> $fields{'envelope'} =~ s/^Reply-To:.*$/Reply-To:
$fields{'Reply-To'}/m;
Thanks,