projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT 4.0.13
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
ShowUser
diff --git
a/rt/share/html/Elements/ShowUser
b/rt/share/html/Elements/ShowUser
index
044ec4c
..
678a45c
100644
(file)
--- a/
rt/share/html/Elements/ShowUser
+++ b/
rt/share/html/Elements/ShowUser
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
2
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
3
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-51,7
+51,7
@@
# $Address is Email::Address object
my $comp = '/Elements/ShowUser'. ucfirst lc $style;
# $Address is Email::Address object
my $comp = '/Elements/ShowUser'. ucfirst lc $style;
-unless ( $m->comp_exists( $comp ) ) {
+unless (
RT::Interface::Web->ComponentPathIsSafe($comp) and
$m->comp_exists( $comp ) ) {
$RT::Logger->error(
'Either system config or user #'
. $session{'CurrentUser'}->id
$RT::Logger->error(
'Either system config or user #'
. $session{'CurrentUser'}->id