Index: trunk/tools/counter/counter.py |
— | — | @@ -33,9 +33,9 @@ |
34 | 34 | # $hostname %sn %ts.%03tu %tr %>a %Ss/%03Hs %<st %rm %ru %Sh/%<A %mt %{Referer}>h %{X-Forwarded-For}>h %{User-Agent}>h |
35 | 35 | # ... |
36 | 36 | # 9. URL |
37 | | - bits = line.split(" ", 9) |
38 | | - if len(bits) > 8 and bits[7] == "GET": |
39 | | - return bits[8] |
| 37 | + bits = line.split(" ", 10) |
| 38 | + if len(bits) > 9 and bits[8] == "GET": |
| 39 | + return bits[9] |
40 | 40 | else: |
41 | 41 | return None |
42 | 42 | |