Restored previous version
This commit is contained in:
parent
5c22db37c7
commit
623a5120df
|
@ -48,7 +48,7 @@ public class CKANGroup extends CKAN {
|
||||||
if(groupName == null)
|
if(groupName == null)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
String regexGroupNameTransform = "[^A-Za-z0-9-_]";
|
String regexGroupNameTransform = "[^A-Za-z0-9-]";
|
||||||
String modified = groupName.trim().replaceAll(regexGroupNameTransform, "-").replaceAll("-+", "-").toLowerCase();
|
String modified = groupName.trim().replaceAll(regexGroupNameTransform, "-").replaceAll("-+", "-").toLowerCase();
|
||||||
|
|
||||||
if(modified.startsWith("-"))
|
if(modified.startsWith("-"))
|
||||||
|
|
Loading…
Reference in New Issue