From: Philip Reetz
Date: Mon, 4 May 2009 10:53:20 +0000 (+0000)
Subject: RegEx Korrektur
X-Git-Tag: release-2.6.0beta2~88
X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f52b5731480780363ba3038ce069b02911870411;p=kivitendo-erp.git
RegEx Korrektur
---
diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl
index 7b64f7344..1bd92dc91 100644
--- a/bin/mozilla/common.pl
+++ b/bin/mozilla/common.pl
@@ -515,8 +515,8 @@ sub mark_as_paid_common {
} else {
my $referer = $ENV{HTTP_REFERER};
- if ($referer =~ /.*action.*/) {
- $referer =~ /^(.*)\?action\=.*(\&.*)$/;
+ if ($referer =~ /action/) {
+ $referer =~ /^(.*)\?action\=[^\&]*(\&.*)$/;
$script = $1;
$callback = $2;
} else {