|
[
Permlink
| « Hide
]
Jim Eng added a comment - 21-Mar-2007 20:34
Escape names of new folders and new file-uploads before using them as entity id's.
this does not appear to be fixed.
tested on http://qa1-us.sakaiproject.org:8580. from footer: Sakai QA Network qa1-us (svn tags/sakai_2-4-0_QA_007) using Oracle - Built: 03/22/07 08:00 - Sakai Revision: 27604 - Server qa1-us created a folder called " apos'trophe" in myworkspace. cannot upload a file to it. javascript error (i have put in linebreaks at the semicolons to improve readibility. the error highlighted the 't' right after the apostrophe in the folder name): Error: missing ; before statement Source File: http://qa1-us.sakaiproject.org:8580/portal/tool/a9e492d9-b573-4bc2-806a-72227152c33c?panel=Main Line: 1, Column: 97 Source Code: document.getElementById('selectedItemId').value='/user/7e2ee1c8-acb1-4088-00cf-d6517d13b2c6/apos'trophe/'; document.getElementById('rt_action').value='org.sakaiproject.content.types.HtmlDocumentType:create'; document.getElementById('sakai_action').value='do Seems to handle them ok - tested a file with a name of
text with 'things' "in" !it! %$#@~&*()_-+= looks ok on 008 build. i repeated the same steps, and was able to create the folder, place a file in it, then delete both successfully.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||