• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 2.1.2
    • 2.1
    • None
    • Safari 2.0.2

      I tried editing the "Release Notes 2.1" page (logged in, of course), and received this error message:

      Error converting parameters for call to DraftAjax.saveDraft: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "}
      "

      After saving the page and accessing it again, the error hasn't shown up.

            [CONFSERVER-4976] Drafts JavaScript error when editing page on Safari

            The problem is that we had to patch DWR so that we could post large chunks of data to Confluence via AJAX.

            From what I can see, we need to change line 290 of our patched ExecuteQuery.java from:

            paramMap.put(key, value.trim());

            to

            paramMap.put(key, UrlEncoder.encode(value.trim(), "UTF-8");

            I'll need to run this past Tom on Monday, though, since he did the original DWR patch.

            Charles Miller (Inactive) added a comment - The problem is that we had to patch DWR so that we could post large chunks of data to Confluence via AJAX. From what I can see, we need to change line 290 of our patched ExecuteQuery.java from: paramMap.put(key, value.trim()); to paramMap.put(key, UrlEncoder.encode(value.trim(), "UTF-8"); I'll need to run this past Tom on Monday, though, since he did the original DWR patch.

              cmiller@atlassian.com Charles Miller (Inactive)
              8d92d19feb5e Jeremy Higgs
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: