-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.6
-
Security Level: Jimmy
-
IE
-
None
The downloaded file name with empty string become '+' sign in IE
Reproducible sample:
<zk> <zscript><![CDATA[ import org.zkoss.zul.Filedownload; import java.io.InputStream; import java.io.ByteArrayInputStream; import org.zkoss.util.media.AMedia; import java.net.URLEncoder; import org.zkoss.lang.Strings; void download() throws Exception { InputStream is = new ByteArrayInputStream("test".getBytes("utf-8")); AMedia media = new AMedia("測 試", "txt", "text/plain", is); Filedownload.save(media); } ]]></zscript> <button label="download" onClick="download()"> </button> </zk>
- relates to
-
ZK-2143 Filedownload should support chinese file name
- Closed