Skip to content

Commit

Permalink
PRESIDECMS-1673 ensure the https? part of URL is at the beginning of …
Browse files Browse the repository at this point in the history
…the string :)
  • Loading branch information
DominicWatson committed Sep 11, 2019
1 parent 9c2b372 commit 5e14330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/handlers/email/Tracking.cfc
Expand Up @@ -56,7 +56,7 @@ component {
event.notFound(); event.notFound();
} }


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


Expand Down

0 comments on commit 5e14330

Please sign in to comment.