Skip to content

REST params (formData) are not available when using HTTPS POST #1345

Open

Description

@NadigNikhil

We are runnig a Ubuntu 18.04 Server with nginx. I send the following ExtJS AJAX request to our application via HTTPS:

Ext.Ajax.request({
     url: 'https://localhostl/test/setTaskLock/15/true',
     method: 'POST',
     headers: {
        'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
     },
     params: {
         test123: 'answer123'
     },     
     success: function (response) {
         console.log("success");
     },
     failure: function (response) {
         console.log("failure");
     }
});

We have migrated from 2.3.7 to 2.4.0 and observe that the formbody is missing. While we use HTTP, we get the desired output and issue is there when we try to make the rest call using HTTPS.

Below is the maven dependencies:
<restlet.version>2.4.0</restlet.version>

org.restlet.jee org.restlet ${restlet.version} org.restlet.jee org.restlet.ext.crypto ${restlet.version} org.restlet.jee org.restlet.ext.fileupload ${restlet.version} org.restlet.jee org.restlet.ext.servlet ${restlet.version} org.restlet.jee org.restlet.ext.xml ${restlet.version} org.restlet.jee org.restlet.ext.wadl ${restlet.version} org.restlet.jee org.restlet.ext.jaxb ${restlet.version}

Activity

  1. seppinho commented on Dec 12, 2019

    @seppinho

    Same here. We reproduced this behaviour also with JQuery but also see it with a http proxy server. Any timeline to fix this (possible critical) bug? thanks a lot!

  2. cyberquarks commented on Mar 25, 2021

    @cyberquarks
  3. added a commit that references this issue on Jul 21, 2022
  4. added a commit that references this issue on Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions