Title: [192517] trunk/Websites/bugs.webkit.org
- Revision
- 192517
- Author
- lforsch...@apple.com
- Date
- 2015-11-17 11:30:14 -0800 (Tue, 17 Nov 2015)
Log Message
Commit working changes from build.webkit.org
Modified Paths
Diff
Modified: trunk/Websites/bugs.webkit.org/Bugzilla/Util.pm (192516 => 192517)
--- trunk/Websites/bugs.webkit.org/Bugzilla/Util.pm 2015-11-17 19:11:22 UTC (rev 192516)
+++ trunk/Websites/bugs.webkit.org/Bugzilla/Util.pm 2015-11-17 19:30:14 UTC (rev 192517)
@@ -654,12 +654,17 @@
sub validate_email_syntax {
my ($addr) = @_;
my $match = Bugzilla->params->{'emailregexp'};
- my $ret = ($addr =~ /$match/ && $addr !~ /[\\\(\)<>&,;:"\[\] \t\r\n\P{ASCII}]/);
- if ($ret) {
+ # We set the max length to 127 to ensure addresses aren't truncated when
+ # inserted into the tokens.eventdata field.
+ if ($addr =~ /$match/
+ && $addr !~ /[\\\(\)<>&,;:"\[\] \t\r\n\P{ASCII}]/
+ && length($addr) <= 127)
+ {
# We assume these checks to suffice to consider the address untainted.
trick_taint($_[0]);
+ return 1;
}
- return $ret ? 1 : 0;
+ return 0;
}
sub validate_date {
Modified: trunk/Websites/bugs.webkit.org/ChangeLog (192516 => 192517)
--- trunk/Websites/bugs.webkit.org/ChangeLog 2015-11-17 19:11:22 UTC (rev 192516)
+++ trunk/Websites/bugs.webkit.org/ChangeLog 2015-11-17 19:30:14 UTC (rev 192517)
@@ -1,3 +1,10 @@
+2015-11-17 Lucas Forschler <lforsch...@apple.com>
+
+ bugs.webkit.org is running with changes that are not checked in.
+ Check them in.
+
+ Reviewed by Matt Hanson.
+
2015-07-30 Aakash Jain <aakash_j...@apple.com>
Replace Google App Engine with AppScale
Modified: trunk/Websites/bugs.webkit.org/data/params (192516 => 192517)
--- trunk/Websites/bugs.webkit.org/data/params 2015-11-17 19:11:22 UTC (rev 192516)
+++ trunk/Websites/bugs.webkit.org/data/params 2015-11-17 19:30:14 UTC (rev 192517)
@@ -85,7 +85,7 @@
'timetrackinggroup' => '',
'upgrade_notification' => 'latest_stable_release',
'urlbase' => 'https://bugs.webkit.org/',
- 'use_mailer_queue' => 0,
+ 'use_mailer_queue' => '1',
'use_see_also' => 1,
'usebugaliases' => '1',
'useclassification' => 0,
Modified: trunk/Websites/bugs.webkit.org/jobqueue.pl (192516 => 192517)
--- trunk/Websites/bugs.webkit.org/jobqueue.pl 2015-11-17 19:11:22 UTC (rev 192516)
+++ trunk/Websites/bugs.webkit.org/jobqueue.pl 2015-11-17 19:30:14 UTC (rev 192517)
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl -w
+#!/usr/bin/perl
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# The contents of this file are subject to the Mozilla Public
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes