mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 13:31:18 +08:00
FIX: lower case URLs before comparing for embedding comments
This commit is contained in:
@ -64,7 +64,7 @@
|
||||
}
|
||||
|
||||
function normalizeUrl(url) {
|
||||
return url.replace(/^https?(\:\/\/)?/, '');
|
||||
return url.toLowerCase().replace(/^https?(\:\/\/)?/, '');
|
||||
}
|
||||
|
||||
function postMessageReceived(e) {
|
||||
|
Reference in New Issue
Block a user