(str)
| 651 | } |
| 652 | } |
| 653 | function isValidHttpUrl(str) { |
| 654 | var regex = /(?:https?):\/\/(\w+:?\w*)?(\S+)(:\d+)?(\/|\/([\w#!:.?+=&%!\-\/]))?/; |
| 655 | if (!regex.test(str)) { |
| 656 | return false; |
| 657 | } else { |
| 658 | return true; |
| 659 | } |
| 660 | } |
| 661 | if (selectServer) { |
| 662 | if (typeof getCommand.host === "string" || typeof getCommand.h === "string") { |
| 663 | var severAddress; |
no outgoing calls
no test coverage detected