Skip to content
Snippets Groups Projects
Commit fd62a203 authored by m4olivei's avatar m4olivei Committed by Lachlan Ennis
Browse files

fixes #2349049

parent 719d12a1
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ Drupal.extlink.attach = function (context, settings) {
}
// Build regular expressions that define an internal link.
var internal_link = new RegExp("^https?://" + subdomains + host, "i");
var internal_link = new RegExp("^https?://([^@]*@)?" + subdomains + host, "i");
// Extra internal link matching.
var extInclude = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment