[Building Sakai] KNL-66 bug

Bryan Bakotich bakotibj at plu.edu
Wed Jul 15 11:35:01 PDT 2009


Hi all,

First off here is the url of the jira for the bug we are having problems
with: http://jira.sakaiproject.org/browse/KNL-66

We have been having more problems with this bug lately when students are
trying to submit an assessment. They get a stack trace if they have a
'<' symbol in one of their short answer questions and are unable to
submit. We are trying to find any sort of quick and dirty fix so that
students don't ever get a stack trace when trying to submit.

What I tried doing is catching the StringIndexOutOfBoundsException and
if it is caught call escapeHtml on the string and return. This seems to
be working fine on a development server, but I wanted to know if I am
overlooking a much bigger problem that this might cause. I have attached
the patch, please let me know if this makes things worse of not. Thanks
for the help.

-Bryan

-- 
Bryan Bakotich
Open Source Implementation Specialist
Digital Media Center, Information & Technology Services
Pacific Lutheran University
Tacoma, WA 98447-0013
Phone: 253-536-5021

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FormattedText.diff
Type: text/x-diff
Size: 627 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090715/dfd7fc07/attachment.bin 


More information about the sakai-dev mailing list