6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/24/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8413] malformed img tag causes images to be shown regardless of html_image_replacement setting
*
Your Email Address
*
Spam protection
Enter the letters below:
__..__.. .\ /. . (__ | ||\/| >< | | .__)|__\| |/ \|/\|
Comment
> That img tag had 2 src attributes, and had the info in the first > attribute. The regex was too greedy and was ignoring all text in the > tag between '<img' and the final 'src=' text. Solution was to make > that part of the regex ungreedy. > > > > An img tag with multiple src attributes that doesn't contain a > correct source link in the first src attribute will not display the > image at all, even after clicking on Display these images. But > absent a super-complex preg regex, this is acceptable (after all, the > message is broken). > > > > Running tidy fixed this issue without the need for the regexp change.
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