[Building Sakai] entity feeds: url parsing issue

York, Adam yorkadam at umich.edu
Thu Oct 6 08:04:09 PDT 2011


Recently an issue was reported: In entity broker and provider there appears to be a lack of handing url escape codes.  It can handle a literal character, but not the equivalent codes.  This holds true for all feeds I've tested (gradebook, assignments, announcements, etc)

ex url's:
http://nightly2.sakaiproject.org:8082/direct/announcements/%5C<http://nightly2.sakaiproject.org:8082/direct/announcements//> - no error / blank return page / no log entry
http://nightly2.sakaiproject.org:8082/direct/announcements/\<http://nightly2.sakaiproject.org:8082/direct/announcements//> - 501, works as you would expect

Related JIRA:
https://jira.sakaiproject.org/browse/SAK-19674?focusedCommentId=139462#comment-139462

There isn't much in the way of documentation concerning the entity broker and provider with regards to parsing the URL to catch errors like this:
https://confluence.sakaiproject.org/display/SAKDEV/Entity+Provider+and+Broker

List of escape codes:
http://www.december.com/html/spec/esccodes.html

Any ideas on how to tackle this issue?

Thanks,

Adam York
Teaching & Learning
University of Michigan
Information and Technology Services
(734)615-2549

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111006/748eff2a/attachment.html 


More information about the sakai-dev mailing list