mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: lower case URLs before comparing for embedding comments
This commit is contained in:
parent
6adfe1af47
commit
6ea040dd5f
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function normalizeUrl(url) {
|
function normalizeUrl(url) {
|
||||||
return url.replace(/^https?(\:\/\/)?/, '');
|
return url.toLowerCase().replace(/^https?(\:\/\/)?/, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
function postMessageReceived(e) {
|
function postMessageReceived(e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue