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

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

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

Nicolas Malin (Jira)
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)