6.0.0-beta1
7/22/25

[#921] illegal img src tag doesn't allow image to be shown
Summary illegal img src tag doesn't allow image to be shown
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester kglueck (at) viz (dot) tamu (dot) edu
Created 12/01/2004 (7538 days ago)
Due
Updated 12/01/2004 (7538 days ago)
Assigned 12/01/2004 (7538 days ago)
Resolved 12/01/2004 (7538 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/01/2004 10:10:33 AM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
12/01/2004 09:37:11 AM Jan Schneider Assigned to Jan Schneider
State ⇒ Assigned
 
12/01/2004 04:52:33 AM kglueck (at) viz (dot) tamu (dot) edu Comment #2 Reply to this comment
guess it would also be helpful to show an example place it can be 
reproduced.  where I noticed it was in including the klutz/comics 
block in the portal_layout.  shows up as a broken image on IE and as 
the ALT text on Mozilla and Firefox...
12/01/2004 04:49:31 AM kglueck (at) viz (dot) tamu (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ illegal img src tag doesn't allow image to be shown
Queue ⇒ Horde Framework Packages
Reply to this comment
recent change in Horde::img causes URL to be encoded with HTML tags.   
The change happened in rev 1.480 of framework/Horde/Horde.php.  the 
problem (as far as I see), is that the src attribute is now sent 
through (on line 822/823) the @htmlspecialchars function which results 
in an img src tag that has this as the src value: 
"https://www-viz.tamu.edu/internal/horde/klutz/comics.php?actionID=image&date=1101871706&index=bc"  the ampersand shouldn't be an html tag inside of there.  (not sure if the above text will be shown correctly, 
but...)



Kevin

Saved Queries