mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
FIX: lower case URLs before comparing for embedding comments
This commit is contained in:
parent
6adfe1af47
commit
6ea040dd5f
@ -64,7 +64,7 @@
|
||||
}
|
||||
|
||||
function normalizeUrl(url) {
|
||||
return url.replace(/^https?(\:\/\/)?/, '');
|
||||
return url.toLowerCase().replace(/^https?(\:\/\/)?/, '');
|
||||
}
|
||||
|
||||
function postMessageReceived(e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user