[MOBY-dev] malformed authURI [solved]

Mark Wilkinson markw at illuminae.com
Fri May 23 15:58:41 UTC 2008


the authURI is really intended to be the authority's domain name... so  
whatever regexp/error message changes you think will indicate that please  
go ahead :-)

Mark



On Fri, 23 May 2008 03:54:58 -0700, Jason Stewart  
<jason.e.stewart at gmail.com> wrote:

> Hey,
>
> OK. It was an incomplet error message text...
>
> Here is what the docs say:
>
> authURI - a URI representing your organization (e.g. yourdomain.com);
> no http-prefix, and no trailing path information is allowed.
>
> but the code looks like this:
>
> 	return &_error( "Malformed authURI - must not have an http:// prefix",  
> "" )
> 	  if $AuthURI =~ '[/:]';
>
> Ah... I had a trailing '/'... but not a 'http://'  prefix... That was
> confusing me...
>
> So if I have a ':' or a '/' then the authURI is rejected. I'd be happy
> to offer a patch for the error message to make it a bit more complete.
> Is that helpful?
>
> Cheers, jas.
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev



-- 
Mark D Wilkinson, PI Bioinformatics
Assistant Professor, Medical Genetics
The James Hogg iCAPTURE Centre for Cardiovascular and Pulmonary Research
Providence Heart + Lung Institute
University of British Columbia - St. Paul's Hospital
Vancouver, BC, Canada




More information about the MOBY-dev mailing list