Commit 03e797e0 authored by Oliver Hader's avatar Oliver Hader
Browse files

Follow-up to bug #11621: Fix possible vulnerability in initialization of workspace module

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@7629 709f56b5-9817-0410-a4d7-c38de5d9e867
parent c08d890b
......@@ -185,7 +185,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
$workspaces = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid,title,adminusers,members,reviewers','sys_workspace','pid=0'.t3lib_BEfunc::deleteClause('sys_workspace'),'','title');
foreach($workspaces as $rec) {
if ($GLOBALS['BE_USER']->checkWorkspace($rec)) {
$this->MOD_MENU['display'][$rec['uid']] = '['.$rec['uid'].'] '.$rec['title'];
$this->MOD_MENU['display'][$rec['uid']] = '['.$rec['uid'].'] '.htmlspecialchars($rec['title']);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment