NetSuite on upload of HTML files with a bytecode in the document munges the file by adding a commented header and spacing unnecessarily. This is a serious bug!
We are trying to upload a javadocs-like HTML fileset for online help. These files are correctly formatted HTML files however contain a bytecode for UTF-8 readable signature.
Doc prior to uploading (note the wierd characters are a valid bytecode in UTF-8 encoding). This is a readable/viewable file in all browsers (IE, Firefox, Opera, Safari tested):
<!-- /** * * HTML WSDL Help Docs */ --> <HTML> ... rest of HTML </HTML>
When we upload these into NetSuite file cabinet, NetSuite adds a comment at the very top with a bunch of empty lines.After upload to NetSuite:<!--<html>--> <!-- /** * HTML WSDL Help Docs */ --> <HTML> ... rest of HTML source </HTML>
When this file is then tried to be read online, it displays a blank screen even though all source code has been properly loaded.Clearly the NetSuite added comment and space is destroying the file from being readable. Without the bytecode being the very first line and character in the file, the file is rendered unreadable in browsers (UTF-8 compliant or otherwise). NetSuite should NOT be adding anything to uploaded files under any circumstances. Why is this being done?This is a bug and also not UTF-8 compliant. Is there a workaround or fix in place for this?Thanks-Steve