comment fix

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/social-networking/social-util-library@133746 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-10-29 07:18:37 +00:00
parent 8372443937
commit 2b33e5909b
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class Utils {
"([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)*)*" +
"(#([-\\w~!$+|.,*:=]|%[a-f\\d]{2})*)?\\b");
// old was but it doesn't work for urls like https://next.d4science.org/group/nextnext/data-catalogue?path=/dataset/test_for_visibility
// the old was didn't work for urls like https://next.d4science.org/group/nextnext/data-catalogue?path=/dataset/test_for_visibility
// since it removed the string after "path"
// private static final Pattern URL_PATTERN = Pattern.compile(
// "\\b(((ht|f)tp(s?)\\:\\/\\/|~\\/|\\/)|www.)" +