Hello Susheel, I will answer you after May 9 It is public holidays here in Russia and I'm going to have mountain trip :)
WBR, Maxim (from mobile, sorry for the typos) On Apr 30, 2016 01:22, "Susheel Jalali" <[email protected]> wrote: > Dear Maxim, > > Thank you for pointing us to StoredFile.java > > The ./upload/files/OUR_UPLOADED_SWF_FILENAME.swf appears (the name is in > hash format) > > However, file explorer does not show this SWF filename, and whiteboard > does not display it on direct upload to it. > > PDF and image files are being uploaded and displayed in the File Explorer > as well as in whiteboard > > Which other files (e.g. fileUpload.java or UploadController.java) do we > need to modify, to eliminate this SWF file upload error? > > In UploadController.java, there is a commented out line of code. Is this > relevant? > // Flash cannot read the response of an upload > // httpServletResponse.getWriter().print(returnError); > > -- > > Regards, > > Susheel Jalali > Coscend Communications Solutions > www.Coscend.com > ---------------------------------------------------------------- > CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail > Messages from Coscend Communications Solutions' posted at: > http://www.Coscend.com/Terms_and_Conditions.html > > > On 04/25/16 19:09, Maxim Solodovnik wrote: > >> You need to add swf to StoredFile.java >> I believe swf files are blocked due to it might be security hole >> >> On Mon, Apr 25, 2016 at 7:33 PM, Susheel Jalali < >> [email protected]> >> wrote: >> >> Dear OpenMeetings Developers, >>> >>> We want to upload SWF files to file explorer and display on whiteboard, >>> but the upload is failing with HTTP 500 Error. >>> However, all the other formats (PPT, PDF, DOC, PNG and other image >>> formats) are getting uploaded, and also displayed on whiteboard. >>> >>> We appreciate any pointer to help with this. >>> >>> Details: >>> ------- >>> Do we need to modify any program code (e.g. uploadWindowExplorer.lzx, >>> fileUpload.lzx or other) ? >>> For example, code to skip any file-type-verification or OO / Jod/ >>> conversion calls in the case where the file being uploaded is already in >>> SWF format. >>> >>> We noticed that "*.swf" is not mentioned in the lists of file types that >>> are setup in the "browse" method in "fileUpload.lzx", >>> Does this issue need addition of lines for SWF, like: >>> , swfExt = "*.swf" >>> . . . >>> , imgExt = <existing list> + ";" + swfExt; >>> . . OR . . >>> allExt = <existing list> + ";" + swfExt; >>> >>> >>> PS. Could not find related question/answer in past email archives; the >>> closest came to: >>> code.google.com/archive/p/openmeetings/issues/370 and 371, >>> but those deal with OpenOffice or JOD converter topics, after successful >>> upload. >>> >>> -- >>> >>> Sincerely, >>> >>> Susheel Jalali >>> Coscend Communications Solutions >>> www.Coscend.com >>> ---------------------------------------------------------------- >>> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail >>> Messages from Coscend Communications Solutions' posted at: >>> http://www.Coscend.com/Terms_and_Conditions.html >>> >>> >> >> >
