File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -186,10 +186,14 @@ function clearAllIntervals () {
186186 } )
187187}
188188
189- // Reject unsubscribe and subscription management paths
189+ // Reject unsubscribe, subscription and verification management paths
190190// Make sure the keywords((un)subscribe) can still be repository names
191191function reject_unwanted_paths ( links ) {
192- paths = [ '\/\/[^\/]*\/mailers\/unsubscribe\?' , '\/\/[^\/]*\/.*\/.*\/unsubscribe_via_email' , '\/\/[^\/]*\/.*\/.*\/subscription$' ]
192+ paths = [ '\/\/[^\/]*\/mailers\/unsubscribe\?' ,
193+ '\/\/[^\/]*\/.*\/.*\/unsubscribe_via_email' ,
194+ '\/\/[^\/]*\/.*\/.*\/subscription$' ,
195+ '\/\/[^\/]*\/.*\/.*\/emails\/.*\/confirm_verification\/.*'
196+ ]
193197 regexp = new RegExp ( paths . join ( '|' ) )
194198 return $ ( links ) . filter ( function ( ) {
195199 if ( ! this . href . match ( regexp ) ) return this
You can’t perform that action at this time.
0 commit comments