[rt-commit] CVS commit: rt

tobiasb at fsck.com tobiasb at fsck.com
Mon May 22 17:24:13 EDT 2000


Module Name:	rt
Committed By:	tobiasb
Date:		Mon May 22 21:24:13 UTC 2000

Modified Files:
	rt/lib/RT: Ticket.pm

Log Message:
I do use $Ticket->Subject (and other stuff as well) frequently when
I'm editing Mason.  There is two issues;

1) Things might look freaked if the ticket has no subject, i.e. Display.html

2) Things might get totally whacko if the subject contains HTML code.

I could ensure the "right" behaviour all the places by using
HTML::Entities::encode (I've done it one place), and by always using
$Subject||"(No subject)".  Anyway, I think it might be more
appropriate to have a sub RT::Ticket::VerboseSubject and
RT::Ticket::HTMLSubject.

What do you think?


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.94 -r1.1.2.95 rt/lib/RT/Ticket.pm






More information about the Rt-commit mailing list