Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.0, 5.1
    • Fix Version/s: Customer request, 5.0, 5.1
    • Component/s: None
    • Labels:

      Description

      In 5.1 legacy stack, there is a call to htmlentities in kernel/content/treemenu.php (only one in the whole kernel)

      $childResponse['name'] = htmlentities( $child->getName() );

      But, according to the PHP documentation, before php 5.4 htmlentities is using ISO-8859-1 encoding and UTF-8 starting from php 5.4. Our requirement is php 5.3.

      My issue here is that Japanese node names get turned into 'null' because of this call.

        Issue Links

          Activity

          Show
          Yannick Roger (Inactive) added a comment - Fixed in master: https://github.com/ezsystems/ezpublish-legacy/commit/35cbd20f96eddb411023ab1331802d8e1c4412c6

            People

            • Assignee:
              Unassigned
              Reporter:
              Eduardo Fernandes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 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, 2 hours
                1d 2h