Fossil SCM
Do not interpret MSIE version 6 and earlier as "human" for the purposes of automatically enabling hyperlinks.
Commit
747e1e50d5dee700644c98ebf36de9654c6a58fb
Parent
558a17a686249c7…
1 file changed
+1
-1
+1
-1
| --- src/login.c | ||
| +++ src/login.c | ||
| @@ -397,11 +397,11 @@ | ||
| 397 | 397 | } |
| 398 | 398 | if( memcmp(zAgent, "Mozilla/", 8)==0 ){ |
| 399 | 399 | if( atoi(&zAgent[8])<4 ) return 0; /* Many bots advertise as Mozilla/3 */ |
| 400 | 400 | if( strglob("*Firefox/[1-9]*", zAgent) ) return 1; |
| 401 | 401 | if( strglob("*Chrome/[1-9]*", zAgent) ) return 1; |
| 402 | - if( strglob("*(compatible;?MSIE?[1-9]*", zAgent) ) return 1; | |
| 402 | + if( strglob("*(compatible;?MSIE?[1789]*", zAgent) ) return 1; | |
| 403 | 403 | if( strglob("*AppleWebKit/[1-9]*(KHTML*", zAgent) ) return 1; |
| 404 | 404 | return 0; |
| 405 | 405 | } |
| 406 | 406 | if( memcmp(zAgent, "Opera/", 6)==0 ) return 1; |
| 407 | 407 | if( memcmp(zAgent, "Safari/", 7)==0 ) return 1; |
| 408 | 408 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -397,11 +397,11 @@ | |
| 397 | } |
| 398 | if( memcmp(zAgent, "Mozilla/", 8)==0 ){ |
| 399 | if( atoi(&zAgent[8])<4 ) return 0; /* Many bots advertise as Mozilla/3 */ |
| 400 | if( strglob("*Firefox/[1-9]*", zAgent) ) return 1; |
| 401 | if( strglob("*Chrome/[1-9]*", zAgent) ) return 1; |
| 402 | if( strglob("*(compatible;?MSIE?[1-9]*", zAgent) ) return 1; |
| 403 | if( strglob("*AppleWebKit/[1-9]*(KHTML*", zAgent) ) return 1; |
| 404 | return 0; |
| 405 | } |
| 406 | if( memcmp(zAgent, "Opera/", 6)==0 ) return 1; |
| 407 | if( memcmp(zAgent, "Safari/", 7)==0 ) return 1; |
| 408 |
| --- src/login.c | |
| +++ src/login.c | |
| @@ -397,11 +397,11 @@ | |
| 397 | } |
| 398 | if( memcmp(zAgent, "Mozilla/", 8)==0 ){ |
| 399 | if( atoi(&zAgent[8])<4 ) return 0; /* Many bots advertise as Mozilla/3 */ |
| 400 | if( strglob("*Firefox/[1-9]*", zAgent) ) return 1; |
| 401 | if( strglob("*Chrome/[1-9]*", zAgent) ) return 1; |
| 402 | if( strglob("*(compatible;?MSIE?[1789]*", zAgent) ) return 1; |
| 403 | if( strglob("*AppleWebKit/[1-9]*(KHTML*", zAgent) ) return 1; |
| 404 | return 0; |
| 405 | } |
| 406 | if( memcmp(zAgent, "Opera/", 6)==0 ) return 1; |
| 407 | if( memcmp(zAgent, "Safari/", 7)==0 ) return 1; |
| 408 |