On Thu, Aug 21, 2008 at 01:29:00AM -0500, Shawn Walker wrote:

> As I mentioned, I based the naming restriction off of 
> docs/tags-and-attributes.txt which states that:
> 
>      The name field is a...a 7-bit locale [if locale is omitted].
> ...
>      Each of these fields is [A-Za-z][A-Za-z0-9_-.]*.
> ...

But that's an attribute name, not an fmri name.

> Note that my code is only checking the pkg stem (name) portion of an 
> fmri -- it is not restricting all the possible characters in an fmri.
> 
> As for the '/' -- that doesn't apply here as I'm just getting the pkg 
> stem using the fmri module.  It's supposed to strip out any authority 
> indicators, etc.

Package stems are intended to be things like

    application/vim

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to