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

Hexadecimal numeric character references break literal text block in OE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.3.7, 5.4.5
    • Fix Version/s: Customer request, 5.3.8, 5.4.6
    • Component/s: Legacy stack
    • Labels:
      None
    • Environment:

      eZ Publish 5.4.5

      Description

      Pasting text with a hexadecimal numeric character reference, like ä, into a literal block in OE, will truncate the text from the point of the reference.

      Steps to reproduce:

      1. Create any content object with an XML block (example, folder, article)
      2. Add a literal block into it
      3. Paste text like the following: Something ä Something else
      4. Publish, and access your content

      The text will break on ä (ä character).

        Issue Links

          Activity

          Ricardo Correia (Inactive) created issue -
          Ricardo Correia (Inactive) made changes -
          Field Original Value New Value
          Link This issue relates to CS-5201 [ CS-5201 ]
          Ricardo Correia (Inactive) made changes -
          Description Pasting text with HTML entity umlaut ä into a literal block with break it.

          *Steps to reproduce:*
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{Something ä Something else}}
          # Publish, and access your content

          The text will break on {{ä}}.
          Pasting text with HTML entity umlaut ä into a literal block with break it.

          *Steps to reproduce:*
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{Something &\#xe4; Something else}}
          # Publish, and access your content

          The text will break on {{&\#xe4;}} (ä character).
          Ricardo Correia (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Ricardo Correia (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Gunnstein Lye made changes -
          Comment [ This looks like a job for html_entity_decode(). ]
          Gunnstein Lye made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Gunnstein Lye made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 3 hours, 15 minutes [ 11700 ]
          Worklog Id 58155 [ 58155 ]
          Gunnstein Lye made changes -
          Time Spent 3 hours, 15 minutes [ 11700 ] 4 hours, 15 minutes [ 15300 ]
          Worklog Id 58166 [ 58166 ]
          Gunnstein Lye made changes -
          Time Spent 4 hours, 15 minutes [ 15300 ] 5 hours, 15 minutes [ 18900 ]
          Worklog Id 58166 [ 58166 ]
          Gunnstein Lye made changes -
          Time Spent 5 hours, 15 minutes [ 18900 ] 1 day, 15 minutes [ 29700 ]
          Worklog Id 58203 [ 58203 ]
          Gunnstein Lye made changes -
          Time Spent 1 day, 15 minutes [ 29700 ] 1 day, 45 minutes [ 31500 ]
          Worklog Id 58219 [ 58219 ]
          Gunnstein Lye made changes -
          Time Spent 1 day, 45 minutes [ 31500 ] 1 day, 1 hour, 45 minutes [ 35100 ]
          Worklog Id 58223 [ 58223 ]
          Gunnstein Lye made changes -
          Fix Version/s 5.3.8 [ 14382 ]
          Fix Version/s 5.4.6 [ 14493 ]
          Gunnstein Lye made changes -
          Time Spent 1 day, 1 hour, 45 minutes [ 35100 ] 1 day, 2 hours, 15 minutes [ 36900 ]
          Worklog Id 58237 [ 58237 ]
          Gunnstein Lye made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Worklog Id 58237 [ 58237 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Paulo Nunes (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Yannick Roger (Inactive) made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Time Spent 1 day, 2 hours, 15 minutes [ 36900 ] 1 day, 2 hours, 30 minutes [ 37800 ]
          Worklog Id 58364 [ 58364 ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue is blocked by EZP-25345 [ EZP-25345 ]
          Gunnstein Lye made changes -
          Summary HTML entity umlaut ä breaks literal text block Hexadecimal numeric character references break literal text block in OE
          Gunnstein Lye made changes -
          Description Pasting text with HTML entity umlaut ä into a literal block with break it.

          *Steps to reproduce:*
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{Something &\#xe4; Something else}}
          # Publish, and access your content

          The text will break on {{&\#xe4;}} (ä character).
          Pasting text with a hexadecimal numeric character reference, like {{&\#xe4;}} into a literal block with truncate the text from the point of the reference.

          *Steps to reproduce:*
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{Something &\#xe4; Something else}}
          # Publish, and access your content

          The text will break on {{&\#xe4;}} (ä character).
          Gunnstein Lye made changes -
          Description Pasting text with a hexadecimal numeric character reference, like {{&\#xe4;}} into a literal block with truncate the text from the point of the reference.

          *Steps to reproduce:*
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{Something &\#xe4; Something else}}
          # Publish, and access your content

          The text will break on {{&\#xe4;}} (ä character).
          Pasting text with a hexadecimal numeric character reference, like {{&\#xe4;}}, into a literal block in OE, will truncate the text from the point of the reference.

          *Steps to reproduce:*
          # Create any content object with an XML block (example, folder, article)
          # Add a literal block into it
          # Paste text like the following: {{Something &\#xe4; Something else}}
          # Publish, and access your content

          The text will break on {{&\#xe4;}} (ä character).
          Gunnstein Lye made changes -
          Time Spent 1 day, 2 hours, 30 minutes [ 37800 ] 1 day, 4 hours, 30 minutes [ 45000 ]
          Worklog Id 58367 [ 58367 ]
          Gunnstein Lye made changes -
          Status Development [ 3 ] Development Review [ 10006 ]
          Gunnstein Lye made changes -
          Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation Review done [ 10011 ] QA [ 10008 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue is blocked by EZP-25345 [ EZP-25345 ]
          Paulo Nunes (Inactive) made changes -
          Link This issue testing discovered EZP-25345 [ EZP-25345 ]
          Paulo Nunes (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 96985 ] EZEE Development Workflow [ 125397 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Ricardo Correia (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 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, 4 hours, 30 minutes
                1d 4h 30m