[jboss-jira] [JBoss JIRA] (WFLY-3036) Forwarded POST request becomes a GET request

Matti Tahvonen (JIRA) issues at jboss.org
Thu Feb 27 12:39:47 EST 2014


Matti Tahvonen created WFLY-3036:
------------------------------------

             Summary: Forwarded POST request becomes a GET request
                 Key: WFLY-3036
                 URL: https://issues.jboss.org/browse/WFLY-3036
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web (Undertow)
    Affects Versions: 8.0.0.Final
            Reporter: Matti Tahvonen
            Assignee: Stuart Douglas


POST requests that get forwarded (at least due to <security-constraint> rule) are reported as GET requests when the request arrives to the destination.

Now e.g. Vaadin login UI that sends POST request (XHR) to the "original" address dies as Vaadin servlet returns html instead of JSON. 

The same setup works in JBoss 7.1 and Glassfish.

The issue (and workaround) is describe in the github project:
https://github.com/mstahv/vaadin-cdi-jaas-jbossas-example/



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list