On 27.02.01 (22:25), Emiliano wrote:
> > > <?
> > >
> > > $host = mgd_get_host($midgard->host);
> > > echo $host->emile_heyns;
> > >
> > > ?>
(...)
> > how is character conversion done?
> 
> None is performed. I don't think you'd want to use this with
> non-lower-ascii symbols.
> 
> I hadn't thought about this before. Of course the parameter is
> also available as $host->param('emile', 'heyns'), so there's
> always a way around this, but thinking about it, the automatic
> promotion of params to fields could even be a potential
> troublespot. I'm open to suggestions of making this safe, or
> even removal if it cannot be made safe.

This touches another one of my all-time favourites ;-) There's
still no clear Namespace convention (though one could most
probably use most of the stuff Henri is figuring out for
Snippets here) and, more of a problem in my eyes, no definitions
of the characters to use -- Asgard, at least, doesn't work with
slashes in parameter domains due to the way arguments are
transferred between pages.
(http://www.midgard-project.org/bugs/?id=38)

My suggested work-around: Let's define valid parameter domains
as only containing [A-Za-z0-9\-\.] or so and document that
cleanly -- that will suffice till 2.0. 

     phr
-- 
Linksystem Muenchen GmbH                          [EMAIL PROTECTED]
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to