Skip to content

Commit

Permalink
Insert Link dialog won't allow URL with ! character #3375
Browse files Browse the repository at this point in the history
  • Loading branch information
alansemenov committed Nov 29, 2023
1 parent 43787aa commit 6a263e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class Validators {
}

private static getPathRegExp(): RegExp {
return /((\/)+([A-z0-9\-\%\.\…\:\§\,\+()]+\/{0,2})*)?/;
return /((\/)+([A-z0-9\-\%\.\…\:\§\,\+()!]+\/{0,2})*)?/;
}

private static getExtensionRegExp(): RegExp {
Expand Down

0 comments on commit 6a263e8

Please sign in to comment.