[jira] Created: (OFBIZ-1418) ofbizContentUrl does not fetch https:// when the request is https://

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-1418) ofbizContentUrl does not fetch https:// when the request is https://

Nicolas Malin (Jira)
ofbizContentUrl does not fetch https:// when the request is https://
--------------------------------------------------------------------

                 Key: OFBIZ-1418
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1418
             Project: OFBiz
          Issue Type: Bug
            Reporter: Si Chen


ofbizContentUrl is not correctly handing https:// requests -- even when the request is https:// it is still generating http://

The easiest way to see this is to use IE to access any ofbiz page such as https://demo1.opentaps.org/crmsfa/ you will see
it prompt you about "non-secure content" which includes the logo and the css files generated with ofbizContentUrl.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-1418) ofbizContentUrl does not fetch https:// when the request is https://

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544882 ]

Adrian Crum commented on OFBIZ-1418:
------------------------------------

Si,

I looked through the OfbizContentTransform class, and it appears you might have a configuration problem. The content URL prefix is retrieved from the WebSite entity, and if that is empty the URL is retrieved from the url.properties file. So, you need to configure your website in the WebSite entity, the url.properties file, or both.


> ofbizContentUrl does not fetch https:// when the request is https://
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-1418
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1418
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Si Chen
>
> ofbizContentUrl is not correctly handing https:// requests -- even when the request is https:// it is still generating http://
> The easiest way to see this is to use IE to access any ofbiz page such as https://demo1.opentaps.org/crmsfa/ you will see
> it prompt you about "non-secure content" which includes the logo and the css files generated with ofbizContentUrl.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-1418) ofbizContentUrl does not fetch https:// when the request is https://

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Si Chen closed OFBIZ-1418.
--------------------------

    Resolution: Fixed

You are right!  I completely forgot about that.  Thanks for looking into it.

> ofbizContentUrl does not fetch https:// when the request is https://
> --------------------------------------------------------------------
>
>                 Key: OFBIZ-1418
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1418
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Si Chen
>
> ofbizContentUrl is not correctly handing https:// requests -- even when the request is https:// it is still generating http://
> The easiest way to see this is to use IE to access any ofbiz page such as https://demo1.opentaps.org/crmsfa/ you will see
> it prompt you about "non-secure content" which includes the logo and the css files generated with ofbizContentUrl.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.