Skip to content
Permalink
Browse files

Revert "FIX: lower case URLs before comparing for embedding comments"

This reverts commit 6ea040d.
  • Loading branch information
techAPJ committed Jan 23, 2020
1 parent 004d9ef commit feff8b74252dafbc7d4881b9284699ea488bea89
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/javascripts/embed.js
@@ -72,7 +72,7 @@
}

function normalizeUrl(url) {
return url.toLowerCase().replace(/^https?(\:\/\/)?/, '');
return url.replace(/^https?(\:\/\/)?/, '');
}

function postMessageReceived(e) {

1 comment on commit feff8b7

@discoursebot

This comment has been minimized.

Copy link

discoursebot commented on feff8b7 Jan 23, 2020

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/embedding-comment-in-another-site-does-not-support-case-sensitive-urls/117390/13

Please sign in to comment.
You can’t perform that action at this time.