| 5236 | } |
| 5237 | |
| 5238 | bool CClient::ViewLink(const char *pLink) |
| 5239 | { |
| 5240 | if(!str_startswith(pLink, "https://")) |
| 5241 | { |
| 5242 | log_error("client", "Failed to open link '%s': only https-links are allowed", pLink); |
| 5243 | return false; |
| 5244 | } |
| 5245 | return ViewLinkImpl(pLink); |
| 5246 | } |
| 5247 | |
| 5248 | bool CClient::ViewFile(const char *pFilename) |
| 5249 | { |
no test coverage detected