Skip to content
Permalink
Browse files

PRESIDECMS-1673 ensure the https? part of URL is at the beginning of …

…the string :)
  • Loading branch information...
DominicWatson committed Sep 11, 2019
1 parent 9c2b372 commit 5e143304ee0c7882c170cfc96af345a4dd4c5904
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/handlers/email/Tracking.cfc
@@ -56,7 +56,7 @@ component {
event.notFound();
}

if ( !ReFindNoCase( "https?://", link ) && !ReFindNoCase( "^/", link ) ) {
if ( !ReFindNoCase( "^https?://", link ) && !ReFindNoCase( "^/", link ) ) {
event.notFound();
}

0 comments on commit 5e14330

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