From 68fdcd7e9bce659bfbf81adb8f931f50880d26f0 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Fri, 14 Jul 2006 14:47:21 +0000 Subject: [PATCH] cvslog's mark expects a revision, not typical mark input Bug #344637 r=bear --- webtools/bonsai/cvslog.cgi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webtools/bonsai/cvslog.cgi b/webtools/bonsai/cvslog.cgi index 1dd4e517d611..b1af458127a6 100755 --- a/webtools/bonsai/cvslog.cgi +++ b/webtools/bonsai/cvslog.cgi @@ -147,12 +147,13 @@ if ($browse_revtag eq 'HEAD') { $start_rev = map_tag_to_revision($browse_revtag); } -# Handle the "mark" argument +# Handle the "mark" argument, which expects a revision # my %mark; -my $mark_arg = &SanitizeMark($::FORM{'mark'}); +my $mark_arg = $::FORM{'mark'}; foreach my $rev (split(',',$mark_arg)) { - $mark{$rev} = 1 if ($rev =~ m/^\d+$/); + $rev = &SanitizeRevision($rev); + $mark{$rev} = 1 if ($rev); }