From f52b5731480780363ba3038ce069b02911870411 Mon Sep 17 00:00:00 2001
From: Philip Reetz
Date: Mon, 4 May 2009 10:53:20 +0000
Subject: [PATCH] RegEx Korrektur
---
bin/mozilla/common.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 {
--
2.20.1