Closed plemarquand closed 9 years ago
I've signed the CLA (https://projects.eclipse.org/users/paul-lemarquand-0/cla), not sure why validation is failing.
Hi Paul,
thanks for finding this bug and providing a fix and sorry for getting to you so late :-) I have manually validated your email address and eclipse indeed seems to have a CLA on record for it. Is it possible that you signed the CLA only after you created the PR? The webmasters also did some work on the CLA validation mechanism recently so simply re-creating the PR might do the trick. If it is not too much effort, could you try that?
@sophokles73 I'll try closing this request and opening a new one.
@sophokles73 Created #32. Looks like it validated and all is :ok:
When translating HTTP requests in the proxy, if the contentType was created via ContentType.parse the charset of the translated request would always be modified to be ISO_8859_1 even if the content type was application/json. The newly created content type was compared to the existing static instance using object equality instead of .equals().
Fixes the issue by comparing mime types directly.