FIX: lower case URLs before comparing for embedding comments

This commit is contained in:
Arpit Jalan 2016-10-13 00:35:51 +05:30
parent 6adfe1af47
commit 6ea040dd5f
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
}
function normalizeUrl(url) {
return url.replace(/^https?(\:\/\/)?/, '');
return url.toLowerCase().replace(/^https?(\:\/\/)?/, '');
}
function postMessageReceived(e) {