Fixed bug in ticket #6223
git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/share-updates@140006 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
4ca241f6e6
commit
08daafe71e
|
@ -799,7 +799,7 @@ public class ShareUpdateForm extends Composite {
|
|||
String [] parts = textToCheck.split("\\s");
|
||||
// check the length of tokens
|
||||
for( String item : parts ) {
|
||||
if (! item.startsWith("http")) { //url are accepted as they can be trunked
|
||||
if (!item.startsWith("http") && !item.startsWith("ftp")) { //url are accepted as they can be trunked
|
||||
if (item.length() > 50) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue