Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0056994Openbravo ERPA. Platformpublic2024-10-14 08:112024-11-18 21:15
alostale 
Triage Platform Base 
normalmajorhave not tried
closedfixed 
5
 
PR24Q4PR24Q4 
approved
Gold
Core
No
0056994: broken layout in window title
When opening a link to Openbravo backoffice if the title of a view contains some special characters the layout can be broken.
Try to open some link like:

https://localhost:8080/openbravo/#%7Bst:0,bm:%5B%7BviewId:__X__,params:%7BtabTitle:__%3Cimg%20src=a%20onerr [^]
or=alert()%3E__%7D%7D%5D%7D
Properly treat/escape tab titles when rendering them.
No tags attached.
blocks defect 0056754 closed Triage Platform Base broken layout in window title 
Issue History
2024-11-05 18:53AugustoMauchTypedefect => backport
2024-11-05 18:53AugustoMauchTarget Version => PR24Q4
2024-11-18 21:15hgbotNote Added: 0172200
2024-11-18 21:15hgbotMerge Request Statusopen => approved
2024-11-18 21:15hgbotResolutionopen => fixed
2024-11-18 21:15hgbotStatusscheduled => closed
2024-11-18 21:15hgbotNote Added: 0172201
2024-11-18 21:15hgbotFixed in Version => PR24Q4
2024-11-18 21:15hgbotNote Added: 0172202

Notes
(0172200)
hgbot   
2024-11-18 21:15   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1448 [^]
(0172201)
hgbot   
2024-11-18 21:15   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1448 [^]
(0172202)
hgbot   
2024-11-18 21:15   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 94ca1b613c8f3868c0c68f4bbf47d0a89e4f0e70
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 18-11-2024 21:14:39
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/94ca1b613c8f3868c0c68f4bbf47d0a89e4f0e70 [^]

Fixed ISSUE-56994: Fixed display of tab title and recent tab when title has invalid characters

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
---