summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-10-21 10:07:53 +0200
committerlpsolit%gmail.com <>2008-10-21 10:07:53 +0200
commit06d09afdbf093d8ea2bee1bd7b0c13647651bf58 (patch)
treea6b10adbd0bb332fdd658542a604e25f7e9a9cda /Bugzilla
parentbaaf4ccca878bba511c0c2f3bbd98c95196c2df4 (diff)
downloadbugzilla-06d09afdbf093d8ea2bee1bd7b0c13647651bf58.tar.gz
bugzilla-06d09afdbf093d8ea2bee1bd7b0c13647651bf58.tar.xz
Fix bustage due to bug 105865: Perl 5.8.x doesn't understand \h. We have to use [[:blank:]] instead. Patch by me, r=mkanat
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Template.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm
index 3f7205ca7..fbddbb395 100644
--- a/Bugzilla/Template.pm
+++ b/Bugzilla/Template.pm
@@ -175,7 +175,7 @@ sub quoteUrls {
# If the comment is already wrapped, we should ignore newlines when
# looking for matching regexps. Else we should take them into account.
- my $s = $already_wrapped ? qr/\s/ : qr/\h/;
+ my $s = $already_wrapped ? qr/\s/ : qr/[[:blank:]]/;
# However, note that adding the title (for buglinks) can affect things
# In particular, attachment matches go before bug titles, so that titles