Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
234a2cc5
Commit
234a2cc5
authored
Mar 04, 2009
by
Richard Mansfield
Browse files
Fix xss on admin user search page
parent
dedb2405
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/default/templates/searchresulttable.tpl
View file @
234a2cc5
...
...
@@ -26,7 +26,7 @@
{
foreach
from
=
$results.data
item
=
r
}
<tr
class=
"
{
cycle
values
=
"r0,r1"
}
"
>
{
foreach
from
=
$cols
key
=
f
item
=
c
}
<td
{
if
(!
empty
(
$c.class
))
}
class=
"
{
$c.class
}
"
{/
if
}
>
{
if
empty
(
$c.template
)
}{
$r
[
$f
]
}{
else
}{
eval
var
=
$c.template
}{/
if
}
</td>
<td
{
if
(!
empty
(
$c.class
))
}
class=
"
{
$c.class
}
"
{/
if
}
>
{
if
empty
(
$c.template
)
}{
$r
[
$f
]
|
escape
}{
else
}{
eval
var
=
$c.template
}{/
if
}
</td>
{/
foreach
}
</tr>
{/
foreach
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment