[Building Sakai] invalid URLs in Resources
Steve Swinsburg
steve.swinsburg at gmail.com
Tue Aug 20 04:33:13 PDT 2013
Hi all,
It appears that if you upload a file to resources whose name contains
special characters, then Sakai creates a URL to that file that contains
those special characters. This is invalid. Whilst most browsers deal with
it ok, servlets do not and as such any system that performs a redirect to a
URL containing these characters will fail (i.e. the shortened URL service).
I have documented this issue here:
https://jira.sakaiproject.org/browse/KNL-1113
I am interested in having a discussion about this so it can be resolved. It
should be as a simple as fully encoding the resourceId before storing it in
the database. The name of the resource will be unaffected since it is
stored separately.
I believe this is important for proper internationalisation since those
characters are common place within filenames in many parts of the world.
regards,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130820/60cd3c36/attachment.html
More information about the sakai-dev
mailing list