Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
locale.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2005 at 19:41 UTC
Updated:
7 Oct 2005 at 22:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
jagdfalke commentedOk, after having had this in the back of my head for some time, I thought that the simple fix would be to cut the string first, and apply htmlspecialchars then (since this function removes any entities, tags etc which would - when cut off - generate invalid markup, the problems is solved.)
To do this, change lines 1053/1054 of includes/locale.inc, which look like this:
to this:
(the line numbers are valid for my Drupal 4.5.1.)
Regards,
Milan
Comment #2
killes@www.drop.org commentedIf you set somethig to "patch" please include a patch file. Moving the issue to Drupal.
Comment #3
wulff commentedStill exists in current HEAD.
Comment #4
wulff commentedPatch for jagdfalke's fix attached.
Comment #5
Steven commentedFixed in HEAD in a different way.
Comment #6
(not verified) commentedComment #7
(not verified) commentedComment #8
(not verified) commentedComment #9
(not verified) commentedComment #10
(not verified) commented