| 308 | } |
| 309 | |
| 310 | void BZFSHTTPAuth::TSURLCallback::keyCallback(std::string& data, const std::string& key) { |
| 311 | if (compare_nocase(key, "WebAuthURL") == 0) { |
| 312 | data += URL; |
| 313 | } |
| 314 | } |
| 315 | |
| 316 | bool ipIsLocal(const std::string& ip) { |
| 317 | std::vector<std::string> v = tokenize(ip, std::string("."), 0, false); |
no test coverage detected