You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2014/06/23 11:19:24 UTC

[jira] [Created] (OFBIZ-5664) When using port.https.enabled=N some URLs are wrongly rendered

Jacques Le Roux created OFBIZ-5664:
--------------------------------------

             Summary: When using port.https.enabled=N some URLs are wrongly rendered
                 Key: OFBIZ-5664
                 URL: https://issues.apache.org/jira/browse/OFBIZ-5664
             Project: OFBiz
          Issue Type: Bug
            Reporter: Jacques Le Roux


When setting 
  port.https.enabled=Y
in url.properties, as it's currently done on the OFBiz demo, some URLs are wrongly generated. 

For instance if you create an order in ecommerce and just after its creation try to get to the PDF you will have a link like

http://ofbiz-vm.apache.org:18080/ecommerce/control/order.pdf?orderId=WSCO10001

This will not work. It should be http://demo-stable-ofbiz.apache.org/ecommerce/control/order.pdf?orderId=WSCO10001

This is, I guess, because when creating an order in ecommerce we switch from HTTP to HTTPS...



--
This message was sent by Atlassian JIRA
(v6.2#6252)