Skip to content

Commit

Permalink
Better validation (clicks provider)
Browse files Browse the repository at this point in the history
  • Loading branch information
enovikov11 committed Nov 1, 2023
1 parent 16d134c commit 96021f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/clicks/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const METHOD_NAME_ADD_FILE_EXTENSION = 'addFileExtension';
export const METHOD_NAME_TRACK_LINKS = 'trackLinks';
export const INTERNAL_LINK_STORAGE_KEY = 'il';
export const MAX_LEN_INTERNAL_LINK = 100;
export const BAD_PROTOCOL_RE = /^ *(data|javascript):/i;
export const BAD_PROTOCOL_RE = /^\s*(data|javascript):/i;

export const REG_DOWNLOAD = new RegExp(
arrayJoin('', [
Expand Down

0 comments on commit 96021f9

Please sign in to comment.