/[Apache-SVN]
ViewVC logotype

Revision 1785098


Jump to revision: Previous Next
Author: jleroux
Date: Thu Mar 2 10:17:15 2017 UTC (7 years, 2 months ago)
Changed paths: 3
Log Message:
Fixed: "Login and logout process in demos shows a certificate issue"
(OFBIZ-9206)

After my conclusions at OFBIZ-9240 I decided to reapply the changes

Here, unlike in trunk and stable, I kept getDefaultServerRootUrl() 
and did no changes in url.properties. 
URL properties will be, for instance, 
used to specify the ports used in demos (28443/28080)


The idea is to use the port initially passed by a successful login request as 
it's done since WebSiteProperties class exists. I also don't add twice the 
portOffset when it's build  from the request, and only then. 
Keep it as is when it's build from a WebSite GenericValue. 
We then trust the user and don't rely on the request.

Thanks: Pierre Smits for report

Changed paths

Path Details
Directoryofbiz/branches/release13.07/framework/common/src/org/ofbiz/common/email/NotificationServices.java modified , text changed
Directoryofbiz/branches/release13.07/framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java modified , text changed
Directoryofbiz/branches/release13.07/framework/webapp/src/org/ofbiz/webapp/ftl/OfbizUrlTransform.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26