projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e7350
)
Pfadkomponenten entfernen, bevor exec aufgerufen wird, damit nicht beliebige Perlscri...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 9 Jul 2007 07:45:26 +0000
(07:45 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 9 Jul 2007 07:45:26 +0000
(07:45 +0000)
SL/Form.pm
patch
|
blob
|
history
diff --git
a/SL/Form.pm
b/SL/Form.pm
index
6e60b76
..
d510710
100644
(file)
--- a/
SL/Form.pm
+++ b/
SL/Form.pm
@@
-690,7
+690,8
@@
sub redirect {
if ($self->{callback}) {
- ($script, $argv) = split(/\?/, $self->{callback});
+ ($script, $argv) = split(/\?/, $self->{callback}, 2);
+ $script =~ s|.*/||;
exec("perl", "$script", $argv);
} else {