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

2014-11-15 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14213462#comment-14213462
 ] 

Jacques Le Roux commented on OFBIZ-5664:


Ha forgot to say that this is also due to fullPath=true in @ofbizUrl 
fullPath=true. You can see the effect elsewhere I guess, the url is then not 
http://demo-trunk-ofbiz.apache.org/ecommerce/control/
but
http://ofbiz-vm.apache.org:8080/ecommerce/control
I'm wondering if this is safe... I will ask infra about it...

 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
  Components: specialpurpose/ecommerce
Affects Versions: Trunk
Reporter: Jacques Le Roux
Assignee: 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.3.4#6332)


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

2014-06-23 Thread Jacques Le Roux (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14040555#comment-14040555
 ] 

Jacques Le Roux commented on OFBIZ-5664:


Note though that 
https://ofbiz-vm.apache.org:18443/ecommerce/control/order.pdf?orderId=WSCO10001 
would work...

 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)