bugzilla-daemon at bugzilla
Jun 13, 2012, 3:58 AM
Post #5 of 7
--- Comment #5 from Jake <stoked10 [at] hotmail> ---
I'm not certain what you need from me for a patch, but I'm using this:
$subject =~ s/[RE:|FWD:|FW:|AW:]//g;
My example was a bad one, maybe a better one is "RE: 123456789" or even
"RE:RE:RE:RE: 123" basically I believe RE should not be apart of the subject
line evaluation. This additional also helps if you ever get a non-encoded
special or foreign character subject. In that case you pass the greater than 10
test, but when all characters but a-zA-Z are stripped, you are usually only
left with "RE or FWD" which fails the all caps test.
Another potentially less desirable fix would be to move the "$subject =~
s/[^a-zA-Z]//g;" line higher in the sub before the check for 10.
You are receiving this mail because:
You are the assignee for the bug.