To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83870 Issue #|83870 Summary|Can not save downloaded file as temporary file if URL |contains forbidden characters (e.g. a question mark) Component|ucb Version|OOo 2.3 Platform|PC URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|mhu Reported by|cyhawk
------- Additional comments from [EMAIL PROTECTED] Thu Nov 22 14:00:16 +0000 2007 ------- I'm trying to set up a dynamic download system for updates to our extensions. This means that description.xml for the extension contains an update URL like "http://something/get_update_info?id=1234", and get_update_info replies with an XML that includes the download location for the update such as "http://something/download?version=2". Now I guess the XML is not saved to a file, because it gets downloaded without any problems. But when the OXT file is downloaded from the second URL I get an error like this: Extension manager: The operation on file://C:/DOCUME~1/DARABO~2/LOCALS~1/Temp/134.tmp_/135.tmp_/download%3Fversion=2 was started with an invalid parameter. Not very informative, but after poking around it boils down to the name of the temporary file. It should not be generated from the URL in my opinion, because a number of popular file systems (say FAT32 and NTFS) do not allow question marks in the file name, which often occur in URLS. Or another solution would be to use the URL-encoded file name (download%3Fversion=2 is a valid file name, download?version=2 is not). I suppose this issue could pop up in other parts of OpenOffice.org, not just the extension update mechanism. An entirely different problem might be, that "download" is not the name of the OXT file anyway -- it is given in the header as Content-Disposition: attachment; filename="Something.oxt" Since I'm stuck with the download problem I don't know if not saving the temporary file as Something.oxt will be a problem or not for its installation. I will get back to this issue if I find out. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
