# | Line 73 | Line 73 | void Bender::bend(const string& path, co | |
---|---|---|
73 | { | |
74 | bend(path); | |
75 | } | |
76 | – | else if (agent == matcher(string("^Mozilla/4.0 \\(compatible; MSIE (\\d+)") |
77 | – | + "\\.(\\d+)(\\w+)?; .*\\)$")) |
78 | – | { |
79 | – | int version; |
80 | – | istringstream number(matcher[1]); |
81 | – | |
82 | – | number >> version; |
83 | – | |
84 | – | if (version >= 6) |
85 | – | { |
86 | – | pass(path); |
87 | – | } |
88 | – | else |
89 | – | { |
90 | – | bend(path); |
91 | – | } |
92 | – | } |
76 | else if (agent == matcher(string("^Mozilla/5.0 \\(.*; rv:(\\d+)\\.(\\d+)(") | |
77 | + "\\.d+)?(\\w+)?\\) Gecko\\/.*")) | |
78 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |