1
0
Files
electrum/lib
Roman Zeyde 5fbd7553ed interface: fix check_host_name() pattern matching
The existing pattern matching code:

    val.find('*.') == 0 and name.find(val[1:]) + len(val[1:]) == len(name)

will return True in the following case:

   val = '*.host.com'
   name = 'blah.org'

since string.find() will return -1, len(val[1:]) == 9 and len(name) == 8.
2015-07-26 18:11:30 +03:00
..
2015-06-27 12:43:29 +02:00
2015-06-27 12:43:29 +02:00
2015-07-18 11:17:19 +02:00
2015-07-25 12:25:47 +02:00
2015-07-09 09:02:39 +02:00
2015-02-24 19:32:59 +01:00
2015-07-03 13:56:17 +09:00
2015-07-10 19:35:02 +02:00
2015-07-22 15:33:50 +02:00
2015-07-02 09:22:59 +02:00
2015-07-06 00:22:19 +02:00
2015-06-13 16:58:08 +03:00
2015-06-27 15:22:34 +02:00
2015-07-25 12:25:47 +02:00
2015-07-24 14:23:03 +02:00
2015-05-02 16:26:27 +02:00