diff options
Diffstat (limited to 'core/src/OCP/comments.js')
-rw-r--r-- | core/src/OCP/comments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/OCP/comments.js b/core/src/OCP/comments.js index 0b44dd7be81..cd1e8a8fa77 100644 --- a/core/src/OCP/comments.js +++ b/core/src/OCP/comments.js @@ -34,7 +34,7 @@ import $ from 'jquery' * * This is a copy of the backend regex in IURLGenerator, make sure to adjust both when changing */ -const urlRegex = /(\s|^)(https?:\/\/)?((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig +const urlRegex = /(\s|^)(https?:\/\/)((?:[-A-Z0-9+_]+\.)+[-A-Z]+(?:\/[-A-Z0-9+&@#%?=~_|!:,.;()]*)*)(\s|$)/ig /** * @param {any} content - |