diff --git a/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js b/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js index 8612e6f384..0bd7a36f40 100644 --- a/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js +++ b/omeroweb/webclient/static/webclient/javascript/ome.webclient.actions.js @@ -61,7 +61,7 @@ OME.getURLParameter = function(key) { }; var linkify = function(input) { - var regex = /(https?|ftp|file):\/\/[-a-zA-Z0-9+&@#/%?=~_|!:,.;$]*[-a-zA-Z0-9+&@#/%=~_|$]/g; + var regex = /(https?|ftp|file):\/\/[-a-zA-Z0-9+&@#/%?=~_{}[\]|!:,.;$]*[-a-zA-Z0-9+&@#/%=~_{}[\]|$]/g; input = input.replace(regex, "$&"); return linkObjects(input); };