Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-5839

Special characters not encoded properly for suggested knowledge base articles on create form

      Summary

      Special characters such as the Apostrophe sign ( ' ), double quote ( " ), lower sign (<), greater sign (>) are not encoded properly for suggested knowledge base articles on create form.

      Steps to Reproduce

      1. Create a new Space in a Confluence instance
      2. Create a new Page on that space containing apostrophe / single quote (') or double quote (") sign in title and / or description
      3. Create an application link between the JIRA instance and the Confluence instance
      4. Create a Service Desk project in JIRA
      5. Go to Project Settings > Knowledge base and select the space created in Confluence to be the KB space configured in Service Desk, per the instructions in Set up a knowledge base for self-service
      6. On Customer portal, open new request and fill the summary so it searches and shows KB article (eg. vpn)
      7. KB articles are searched and shown

      Expected Results

      Apostrophe is encoded correctly.

      Actual Results

      Apostrophe ( ' ) is not encoded correctly, it shows

      &#39;
      

      instead of the sign itself. Character ( ` ) is shown correctly.

      Also:

      • the double quote ( " ) shows as:
        &quot;
      • the lower sign shows as:
        &lt;
      • the greater sign shows as
        &gt;

      Workaround

      None

      Notes

      • Encoding across all components for both products was set to UTF-8 and database collation for both products were supported.
      • Issue reproducible when using recent versions of Confluence such as 6.10.x or g.14.x, but not older versions such as 6.3.1

            [JSDSERVER-5839] Special characters not encoded properly for suggested knowledge base articles on create form

            We still have this problem in conflunce cloud database. When we use Page details Description.

            Rebecca Plattner added a comment - We still have this problem in conflunce cloud database. When we use Page details Description.

            Same here on Jira Cloud.

            Antoine [Klee Group] added a comment - Same here on Jira Cloud.

            Hey cabergsj

            According to the fix version field of this ticket, the bug should have been fixed on Service Desk version 4.1.1 (which corresponds to Jira 8.1.1).
            Can you try to upgrade Jira to 8.1.1 or higher (and Service Desk to 4.1.1 and higher), and check if the issue is still happening?

            If it's happening, I would recommend to open an Atlassian Support ticket via https://support.atlassian.com/, so that we can assist you with this issue.

            Julien Rey added a comment - Hey cabergsj According to the fix version field of this ticket, the bug should have been fixed on Service Desk version 4.1.1 (which corresponds to Jira 8.1.1). Can you try to upgrade Jira to 8.1.1 or higher (and Service Desk to 4.1.1 and higher), and check if the issue is still happening? If it's happening, I would recommend to open an Atlassian Support ticket via https://support.atlassian.com/ , so that we can assist you with this issue.

            Hello,

             

            We have the same problem in our organisation.

            We use the Jira Service Desk version 8.1.0 and Confluence in version 6.15.1.

             

            Thanks in advance for a rapid resolution !

            Julien Cabergs added a comment - Hello,   We have the same problem in our organisation. We use the Jira Service Desk version 8.1.0 and Confluence in version 6.15.1.   Thanks in advance for a rapid resolution !

            Tom De Coninck added a comment - - edited

            Not sure if it is 100% the same issue. In Jira Service Desk, I can Add an organisation with the ' Apostrophe Single quote. Everywhere in the application it shows good. But, when I go into Organisation detail , The title of the organisation shows the #39;

             

            The version I use is 4.2 , IMHO the issue isnt resolved

             

             

             

             

            Tom De Coninck added a comment - - edited Not sure if it is 100% the same issue. In Jira Service Desk, I can Add an organisation with the ' Apostrophe Single quote. Everywhere in the application it shows good. But, when I go into Organisation detail , The title of the organisation shows the #39;   The version I use is 4.2 , IMHO the issue isnt resolved        

            After one year, we still have the same issue.

            Soporte Excentia added a comment - After one year, we still have the same issue.

            Any resolution for this Bug- We have the same Issue here.

            Yassine Mansour added a comment - Any resolution for this Bug- We have the same Issue here.

            Same problem here, not only on single quote, also on double quote.

            Laurens Coppens added a comment - Same problem here, not only on single quote, also on double quote.

            Please fix

            Stefano Falasca added a comment - Please fix

            stg_stl added a comment -

            +1, happens in Bitbucket too and it is a pain (using Vim to edit git commit message)

            stg_stl added a comment - +1, happens in Bitbucket too and it is a pain (using Vim to edit git commit message)

              mchandra@atlassian.com Mohil Chandra
              mfilipan Marko Filipan
              Affected customers:
              21 This affects my team
              Watchers:
              26 Start watching this issue

                Created:
                Updated:
                Resolved: