6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/9/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#1434] phishing warning
*
Your Email Address
*
Spam protection
Enter the letters below:
__ .__..__ .___. __. / `[__][__) | (__ \__.| |[__) | .__)
Comment
> This looks good as a first glance. I have some suggestions though: > > > > - In the first two preg_match calls, why do you expect a whitespace > like 'href= http://...' if the href attribute is *not* enclosed in > quotes? |\s+ should probably be |\s* > > - You should use MIME_Contents::formatStatusMessage() for showing the > phishing warnings, see imp/lib/MIME/Viewer/html.php for examples. It > might also be a good thing to extend this method to also accept an > optional class name for the status box. That wouldn't break BC and > allows to show boxes that look more like warnings like the current > ones that even have a fixed style. > > - The message could probably be tweaked to sound less diffuse. But > that could be done later. But at least it has to be a gettext message.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers