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

object name limit does not support multibyte charset

    XMLWordPrintable

    Details

      Description

      how to reproduce:

      • change ini setting to allow object names to go to 255 chars
      • create a folder with a name longer than 255 UNICODE wide chars (eg. japanese)
      • the object name gets truncated at a length below 255

      reason:

      • the code generating object names cuts the string using a simple strlen() call, without using proper unicode-aware functions.

      Otoh the code used f.e. to limit length of string datatype, uses eztextcodec to do proper utf8-aware length checks.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 28 minutes
                  1d 1h 28m