[MOBY-guts] biomoby commit

Eddie Kawas kawas at dev.open-bio.org
Wed Aug 19 15:36:20 UTC 2009


kawas
Wed Aug 19 11:36:19 EDT 2009
Update of /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY
In directory dev.open-bio.org:/tmp/cvs-serv5546/lib/MOBY

Modified Files:
	Central.pm 
Log Message:
added '%' to the blacklist of characters not allowed in the name of a datatype
moby-live/Perl/MOBY-Server/lib/MOBY Central.pm,1.9,1.10
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/Central.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/Central.pm	2009/04/08 14:51:50	1.9
+++ /home/repository/moby/moby-live/Perl/MOBY-Server/lib/MOBY/Central.pm	2009/08/19 15:36:19	1.10
@@ -318,7 +318,7 @@
 	return &_error("Object name may not contain spaces or other characters invalid in a URN",
 		""
 	  )
-	  if $term =~ /[\/\'\\\s\"\&\<\>\[\]\^\`\{\|\}\~]/;
+	  if $term =~ /[\/\'\\\s\"\&\<\>\[\]\^\`\{\|\}\~\%\+]/;
 	if ( $term =~ m"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?" )
 	{    # matches a URI
 		return &_error( "Object name may not be an URN or URI", "" ) if $1;




More information about the MOBY-guts mailing list