1. Charles Miller [Atlassian] (closed)
  2. confluence-json-rpc-plugin
  3. Pull requests

Pull requests

#3 Merged
Repository
mdeimel
Branch
default
Repository
cmiller_atlassian
Branch
default

Applying the fix for Issue #9 to the other process() method.

Author
  1. Matt Deimel
Reviewers
Description

Firefox by default will add the "charset=UTF-8" to the contentType of an ajax request. Because this is a legitimate operation both of the process() methods in JsonRpcHandler need to handle the additional property. One of the methods was updated for Issue #9, and this is to update the other method. Without this fix the following error message will occur when making the request:

JSON-RPC requests must have the Content-type: application/json

Thank you.

Comments (0)