Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0021169Openbravo ERPA. Platformpublic2012-07-21 02:032012-08-29 16:47
pjuvara 
alostale 
normalminoralways
closedfixed 
5
 
3.0MP15 
marvintm
Core
No
0021169: URLs behind images on login page do not work
When you setup a URL in the System Info for the default image on the login page and the default image for the IT provider, the URL does not work.

On the login page instead of being taken to that URL, you get an invalid URL.

For example, if you setup a URL as http://www.openbravo.com, [^] instead of being taken there you are taken to:
http://<serverURL>/openbravo/security/www.openbravo.com [^]
See above
Coworking
Issue History
2012-07-21 02:03pjuvaraNew Issue
2012-07-21 02:03pjuvaraAssigned To => alostale
2012-07-21 02:03pjuvaraModules => Core
2012-07-22 16:25pjuvaraTag Attached: Coworking
2012-08-16 18:12hgbotCheckin
2012-08-16 18:12hgbotNote Added: 0051334
2012-08-16 18:12hgbotStatusnew => resolved
2012-08-16 18:12hgbotResolutionopen => fixed
2012-08-16 18:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8f50e2b6343a56a82beaa904d60694386466f5d4 [^]
2012-08-17 13:58hgbotCheckin
2012-08-17 13:58hgbotNote Added: 0051340
2012-08-29 16:47marvintmClosed by => marvintm
2012-08-29 16:47marvintmStatusresolved => closed
2012-08-29 16:47marvintmFixed in Version => 3.0MP15

Notes
(0051334)
hgbot   
2012-08-16 18:12   
Repository: erp/devel/pi
Changeset: 8f50e2b6343a56a82beaa904d60694386466f5d4
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 16 18:11:54 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8f50e2b6343a56a82beaa904d60694386466f5d4 [^]

Fixes issue 21169: URLs work on login page

If the URL defined in the System Info window did not start with http://, [^] the link will use it as a relative path. Now, if the URL does not begin with http (to support http and https protocols), the suffix 'http://' [^] will be added.

---
M src/org/openbravo/erpCommon/security/Login.java
---
(0051340)
hgbot   
2012-08-17 13:58   
Repository: erp/devel/pi
Changeset: a3230e6e4301c14bf234305a5f2d3ba83e203d5e
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Fri Aug 17 13:57:11 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a3230e6e4301c14bf234305a5f2d3ba83e203d5e [^]

Related to issue 21169: Change logic to prevent wrong protocol detection

The logic to detect the web protocols has been changed to prevent false positives. Before the fix, if the user defined a URL like htmlcodetutorial.com, the web protocol would not have been added because the URL starts with html.

Now this has changed, and supports http, https and ftp protocols.

---
M src/org/openbravo/erpCommon/security/Login.java
---