normalize url
This commit is contained in:
@@ -964,6 +964,9 @@
|
||||
|
||||
function normalizeAddress(address) {
|
||||
|
||||
// attempt to correct bad input
|
||||
address = address.trim();
|
||||
|
||||
if (address.toLowerCase().indexOf('http') != 0) {
|
||||
address = "http://" + address;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user