Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-13532

International characters in attachment names causing problems

    Details

    • Previous Issue Keys:

      Description

      There are several issues which appear to be related, where attachments cannot be accessed that have international characters in their names:

      SAK-11076
      SAK-12299
      SAK-12300

        Gliffy Diagrams

        1. content-encode.patch
          1 kB
          Klas Lindfors
        2. melete_specialChar_utf.patch
          3 kB
          Miriam Esteve Velazquez
        3. SAK-13532.patch
          0.7 kB
          Matthew Buckett

          Issue Links

            Activity

            Hide
            Beth Kirschner added a comment -

            Klas, can you open a new JIRA that describes the specific use case in Syllabus and Test & Quizzes that causes trouble? I can try to track down the problems in BaseResourceEdit, but am not that familiar with the Syllabus & T&Q tools. I'd also link them to KNL-213. Thanks!

            Show
            Beth Kirschner added a comment - Klas, can you open a new JIRA that describes the specific use case in Syllabus and Test & Quizzes that causes trouble? I can try to track down the problems in BaseResourceEdit, but am not that familiar with the Syllabus & T&Q tools. I'd also link them to KNL-213 . Thanks!
            Hide
            Seth Theriault added a comment -

            I had this on the 2.5.6 merge candidate list (even started testing it locally) but the work done at KNL-213 shows that it's more involved. As such, I am recommending against a 2.5.x merge.

            Show
            Seth Theriault added a comment - I had this on the 2.5.6 merge candidate list (even started testing it locally) but the work done at KNL-213 shows that it's more involved. As such, I am recommending against a 2.5.x merge.
            Hide
            Miriam Esteve Velazquez added a comment -

            Hi, I'm Miriam Esteve from SAMOO. Adding this patch also fixes this bug (SAK-11076) in syllabus. But there is a problem, adding this patch fixes samigo and syllabus but Melete stops working properly.
            Not a big problem, melete still works, but the title of the file, if you have special characters appears ESCAPED. For example, the text file called: "Texto en Español.txt" in all places where it appears the title of the file looks like this:
            Text% 20of% 20Espa% C3% B1ol.txt

            To fix this error, I added a decoder in several get of the class: URLDecoder.decode (XXXXX, "UTF-8"); to decode so, what in the previous patch had been codified.
            Adding this patch to this bug.

            Show
            Miriam Esteve Velazquez added a comment - Hi, I'm Miriam Esteve from SAMOO. Adding this patch also fixes this bug ( SAK-11076 ) in syllabus. But there is a problem, adding this patch fixes samigo and syllabus but Melete stops working properly. Not a big problem, melete still works, but the title of the file, if you have special characters appears ESCAPED. For example, the text file called: "Texto en Español.txt" in all places where it appears the title of the file looks like this: Text% 20of% 20Espa% C3% B1ol.txt To fix this error, I added a decoder in several get of the class: URLDecoder.decode (XXXXX, "UTF-8"); to decode so, what in the previous patch had been codified. Adding this patch to this bug.
            Hide
            Miriam Esteve Velazquez added a comment - - edited

            Patch to decode in Melete, that in the previous patch had been codified.

            Show
            Miriam Esteve Velazquez added a comment - - edited Patch to decode in Melete, that in the previous patch had been codified.
            Hide
            Jean-François Lévêque added a comment -

            Did you put the melete patch on etudes.org's JIRA, Miriam Esteve?

            Show
            Jean-François Lévêque added a comment - Did you put the melete patch on etudes.org's JIRA, Miriam Esteve?

              People

              • Assignee:
                Beth Kirschner
                Reporter:
                Peter A. Knoop
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development