Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14345

Wrong character set destroy xml in eZ Image Alias Handler.

    XMLWordPrintable

Details

    Description

      eZ Image datatype genereate xml based on some meta information with Image, but it does not check the correct charecter set for those meta informations.

      This temperory patch fix the issue, but this should be fixed in a proper way.

      --- kernel/classes/datatypes/ezimage/ezimagealiashandler.php.orig       2009-01-23 18:05:18.000000000 +0100
      +++ kernel/classes/datatypes/ezimage/ezimagealiashandler.php    2009-01-23 18:05:48.000000000 +0100
      @@ -1315,6 +1315,7 @@
                       }
                       else
                       {
      +                    if($infoItemName=="UserComment"){  $infoItem=mb_convert_case($infoItem, MB_CASE_TITLE, "UTF-8"); }
                           $imageInfoNode->setAttribute( $infoItemName, $infoItem );
                       }
                   }
      
      

      Attachments

        Activity

          People

            qwix qwix
            gv gv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: