summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdkonline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index fbd17fb4..ac235e4c 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -158,7 +158,7 @@ sub send_config {
my $response = $ua->request(POST $link,
Content_Type => 'form-data',
Content => [ %$content ]);
- if ($response->is_success && $response->content =~ /^TRUE(.*)/) {
+ if ($response->is_success && $response->content =~ /^TRUE(.*?)([^a-zA-Z0-9].*)?$/) {
($res, $key) = ('TRUE', $1);
}
($res, $key)