gitweb: Fix fixed string (non-regexp) project search
authorJakub Narebski <jnareb@gmail.com>
Fri, 2 Mar 2012 22:34:24 +0000 (23:34 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 6 Mar 2012 22:48:24 +0000 (14:48 -0800)
commite65ceb61cd7d3fabedea8cb545f8c210b48552d4
treee672ccbb098ca1356b7db83d53aca9dce859ecc0
parentf174a2583c9f42315b60205890fa67a79a1f1669
gitweb: Fix fixed string (non-regexp) project search

Use $search_regexp, where regex metacharacters are quoted, for
searching projects list, rather than $searchtext, which contains
original search term.

Reported-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl