sapling/mercurial/hgweb
FUJIWARA Katsunori 20f2cd3a0c i18n: use "encoding.lower()" to normalize string in hgweb search query
some problematic encoding (e.g.: cp932) uses ASCII alphabet characters
in byte sequence of multi byte characters.

"str.lower()" on such byte sequence may treat distinct characters as
same one, and cause unexpected log matching.

this patch uses "encoding.lower()" instead of "str.lower()" to
normalize strings for compare.
2011-12-25 20:35:16 +09:00
..
__init__.py hgweb: make hgweb.hgweb a unified interface to hgweb/hgwebdir 2010-04-26 11:03:40 -05:00
common.py hgweb: initialize permhooks at definition time 2011-04-30 13:47:22 +02:00
hgweb_mod.py merge with stable 2011-08-01 10:54:34 -05:00
hgwebdir_mod.py hgweb: extract the path logic from updatereqenv and add doctests 2011-08-01 14:53:10 -05:00
protocol.py wireproto: add out-of-band error class to allow remote repo to report errors 2011-08-02 15:21:10 -04:00
request.py globally: use safehasattr(x, '__iter__') instead of hasattr(x, '__iter__') 2011-07-25 15:30:19 -05:00
server.py pyflakes: clean up some import noise 2011-10-11 23:16:05 -05:00
webcommands.py i18n: use "encoding.lower()" to normalize string in hgweb search query 2011-12-25 20:35:16 +09:00
webutil.py hgweb: move remaining hasattr calls to safehasattr 2011-07-25 15:38:46 -05:00
wsgicgi.py wsgicgi: use getattr instead of hasattr 2011-07-25 15:38:10 -05:00