Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-6749

Some problems when downloading attachment.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.0
    • None
    • None
    • Linux;weblogic
    • attachment;
    • Medium

    Description

      Hello ,

      I would like to report a problem on xwiki. I think it's like a problem already opened.

      "http://jira.xwiki.org/jira/browse/XWIKI-5268?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel"

      The bug was fixed but the patch had only been tested on Jetty : " Setting the character set to none seems to work in Jetty (it would need

      to be verified the impact on tomcat or other app servers) ".

      The problem is that the code contains some forbidden instructions like :

      http://maven.xwiki.org/site/clover/com/xpn/xwiki/web/DownloadAction.html => response.setCharacterEncoding("");

      http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html => The empty string is not a legal charset name.

      The result is that i can't open an attachment imported in my wiki.

      If you need more details, please tell me.

      Can someone help me?

      Thank you in advance.

      Best regards

      Attachments

        Issue Links

          Activity

            People

              sdumitriu Sergiu Dumitriu
              neo neo
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: