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.20 (RT#13852)
[freeside.git]
/
rt
/
lib
/
RT
/
Interface
/
Web.pm
diff --git
a/rt/lib/RT/Interface/Web.pm
b/rt/lib/RT/Interface/Web.pm
index
409cbdc
..
59d3154
100644
(file)
--- a/
rt/lib/RT/Interface/Web.pm
+++ b/
rt/lib/RT/Interface/Web.pm
@@
-962,7
+962,7
@@
not contain a slash-dot C</.>, and does not contain any nulls.
sub ComponentPathIsSafe {
my $self = shift;
my $path = shift;
sub ComponentPathIsSafe {
my $self = shift;
my $path = shift;
- return
$path !~ m{(?:^|/)\.} and $path !~ m{\0}
;
+ return
($path !~ m{(?:^|/)\.} and $path !~ m{\0})
;
}
=head2 PathIsSafe
}
=head2 PathIsSafe