Security/Reviews/Gaia/system/code: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
====Relevant Source Code====
====Relevant Source Code====


Line 218: Line 217:


Don't know how you can reach this, but seems like f you had xss in the app name you get xss.
Don't know how you can reach this, but seems like f you had xss in the app name you get xss.
<code>
105  AppError.prototype.getMessage = function() {
105  AppError.prototype.getMessage = function() {
106    if (AirplaneMode.enabled) {
106    if (AirplaneMode.enabled) {
Line 227: Line 227:
112    }
112    }
113  };
113  };
114115   AppError.prototype.view = function() {
114
115   AppError.prototype.view = function() {
116    return '<div id="' + this.id() + '" class="' +
116    return '<div id="' + this.id() + '" class="' +
117        AppError.className + ' visible" role="dialog">' +
117        AppError.className + ' visible" role="dialog">' +
Line 237: Line 238:
123            this.getMessage() + '</span>' +
123            this.getMessage() + '</span>' +
124        '</p>' +*window_manager.js
124        '</p>' +*window_manager.js
 
</code>
*wrapper.js
*wrapper.js
canmove, Confirmed users
1,220

edits

Navigation menu