stable

Clone or download

Read-only

Remove javascript:help_window handler

The `javascript:` URIs need to go so we can deploy a strict Content-Security-Policy. The existing usages of javascript:help_window are replaced by event listeners on a[data-help-window] elements. Those event listeners are only added on FP pages because there are no usages of `javascript:help_window` on BP pages (and that should stay that way). Part of request #17967: Deploy a useful content security policy Change-Id: I21fda34d690d371a0a1717338485bbee95dc186d

Modified Files

Name
M plugins/docman/include/Docman_ItemAction.php +1 −1 Go to diff View file
M plugins/docman/include/Docman_ReportColumnTitle.php +1 −1 Go to diff View file
M plugins/docman/include/view/DocmanViewURLBuilder.php +1 −11 Go to diff View file
M plugins/docman/include/view/Docman_View_Admin_Obsolete.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_Docman.class.php +1 −1 Go to diff View file
M plugins/docman/include/view/Docman_View_ItemTreeUlVisitor.class.php +5 −1 Go to diff View file
M plugins/frs/include/FRS/ReleaseNotesController.php +3 −3 Go to diff View file
M plugins/hudson/include/hudsonViews.class.php +4 −4 Go to diff View file
M src/common/wiki/views/WikiServiceViews.class.php +1 −1 Go to diff View file
A src/scripts/FlamingParrot/help-window.ts +41 −0 Go to diff View file
M src/scripts/FlamingParrot/index.js +1 −0 Go to diff View file
M src/www/include/help.php +4 −22 Go to diff View file
M src/www/news/news_utils.php +1 −1 Go to diff View file
M src/www/scripts/codendi/common.js +0 −9 Go to diff View file