[jira] [Commented] (WW-5076) struts2 redirecting to https to http

2020-05-20 Thread Aleksandr Mashchenko (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17112074#comment-17112074
 ] 

Aleksandr Mashchenko commented on WW-5076:
--

Use {{redirectAction}} result type to redirect to actions.

> struts2 redirecting to https to http
> 
>
> Key: WW-5076
> URL: https://issues.apache.org/jira/browse/WW-5076
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.3.32
>Reporter: Manikanta Maddukuri
>Priority: Major
> Fix For: 2.6
>
>
> I deployed struts2 application and mapped a domain name,ssl . I am sending 
> https request and wherever i used struts2 redirection mapping, strut2 is 
> sending http redirect url instead of https redirect url.
>  
> In result chrome is cancelling the http request.
>  
> Error from chrome console:
> Mixed Content: The page at 'https://.' was loaded over HTTPS, but 
> requested an insecure form action 'http://...'. This request has been 
> blocked; the content must be served over HTTPS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (WW-5076) struts2 redirecting to https to http

2020-05-18 Thread James Chaplin (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17110557#comment-17110557
 ] 

James Chaplin commented on WW-5076:
---

Hello Manikanta.

 Could you please provide the redirect action mapping configuration from 
your struts.xml file, to show how it is configured in your application ?

 Even better, if you could provide and attach a very small reproducer 
application (one simple action, one simple JSP) to this Jira, that shows the 
issue in action, that would help.

 It might just be a configuration issue, but we will need to see the 
relevant section of the struts.xml configuration to get a better idea.

Thanks,

 James.

> struts2 redirecting to https to http
> 
>
> Key: WW-5076
> URL: https://issues.apache.org/jira/browse/WW-5076
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.3.32
>Reporter: Manikanta Maddukuri
>Priority: Blocker
>
> I deployed struts2 application and mapped a domain name,ssl . I am sending 
> https request and wherever i used struts2 redirection mapping, strut2 is 
> sending http redirect url instead of https redirect url.
>  
> In result chrome is cancelling the http request.
>  
> Error from chrome console:
> Mixed Content: The page at 'https://.' was loaded over HTTPS, but 
> requested an insecure form action 'http://...'. This request has been 
> blocked; the content must be served over HTTPS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (WW-5076) struts2 redirecting to https to http

2020-05-18 Thread Manikanta Maddukuri (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17109956#comment-17109956
 ] 

Manikanta Maddukuri commented on WW-5076:
-

how to redirect https request to https url ?

> struts2 redirecting to https to http
> 
>
> Key: WW-5076
> URL: https://issues.apache.org/jira/browse/WW-5076
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.3.32
>Reporter: Manikanta Maddukuri
>Priority: Blocker
>
> I deployed struts2 application and mapped a domain name,ssl . I am sending 
> https request and wherever i used struts2 redirection mapping, strut2 is 
> sending http redirect url instead of https redirect url.
>  
> In result chrome is cancelling the http request.
>  
> Error from chrome console:
> Mixed Content: The page at 'https://.' was loaded over HTTPS, but 
> requested an insecure form action 'http://...'. This request has been 
> blocked; the content must be served over HTTPS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (WW-5076) struts2 redirecting to https to http

2020-05-18 Thread Lukasz Lenart (Jira)


[ 
https://issues.apache.org/jira/browse/WW-5076?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17109958#comment-17109958
 ] 

Lukasz Lenart commented on WW-5076:
---

How did you configure the redirect?

> struts2 redirecting to https to http
> 
>
> Key: WW-5076
> URL: https://issues.apache.org/jira/browse/WW-5076
> Project: Struts 2
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 2.3.32
>Reporter: Manikanta Maddukuri
>Priority: Blocker
>
> I deployed struts2 application and mapped a domain name,ssl . I am sending 
> https request and wherever i used struts2 redirection mapping, strut2 is 
> sending http redirect url instead of https redirect url.
>  
> In result chrome is cancelling the http request.
>  
> Error from chrome console:
> Mixed Content: The page at 'https://.' was loaded over HTTPS, but 
> requested an insecure form action 'http://...'. This request has been 
> blocked; the content must be served over HTTPS.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)