struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (WW-4774) Upgrding Struts 2.3.1 to - Redirect issues HTTPS to HTTP
Date Mon, 27 Mar 2017 21:46:41 GMT


ASF GitHub Bot commented on WW-4774:

GitHub user sdutry opened a pull request:

    added module for extra result types

    This is still work in progress.
    The reason i'm already having it as pull request is because any input is welcome.
    related to WW-4774
    ## So far
    - `HttpsOffloadAwareServletRedirectResult`
      - checks `X-Forwarded-Proto` header
    ## TODO
    - support official `Forwarded` header 
    - `HttpsOffloadAwareServletActionRedirectResult`
    - add `struts-plugin.xml` file with result type definitions
    - add ``

You can merge this pull request into a Git repository by running:

    $ git pull httpsfix

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3
commit 1a64217f87566831864371622673951d29dca79a
Author: Stefaan Dutry <>
Date:   2017-03-27T21:20:48Z

    added HttpsOffloadAwareServletRedirectResult

commit 7879bafe58fd7d82d8e31f34dd88736e337f0a12
Author: Stefaan Dutry <>
Date:   2017-03-27T21:25:40Z

    used spaces for indentation


> Upgrding Struts 2.3.1 to - Redirect issues  HTTPS to HTTP
> ------------------------------------------------------------------
>                 Key: WW-4774
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.5.10
>            Reporter: upendar
>            Priority: Critical
>             Fix For:
> We are upgrading Struts2 from 2.3.1 to ; redirect  making https:// to http://
. The following errors in chrome and IE are seen while redirecting  from the popup to main
> redirecting  popup (create user) --- main window (viewdashboard)  - the URL shows https://
to http://
> We are blocked completely due to this issue and need support ASAP. We also reviewed the
apache server configurations and looks good. Please share the fix in detail.
> Error Issue in chrome :
> Mixed Content: The page at 'https://XXXXX/XX/XX/viewdashboard?clear&Id=1&uar=44'
was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://XXX/XX/XX/viewdashboard?uar=44&Id=1'.
This request has been blocked; the content must be served over HTTPS.
> Issue in IE
> SEC7127: Redirect was blocked for CORS request.
> File: account
> SCRIPT7002: XMLHttpRequest: Network Error 0x2ef1, Could not complete the operation due
to error 00002ef1.

This message was sent by Atlassian JIRA

View raw message