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]
[midgard-user] Parameter charset and naming conventions (was: Re: [midgard-user] Some Tech questions - im sure they are possible with midgard)
Philipp Rotmann, Linksystem Muenchen Sat, 03 Mar 2001 05:56:37 -0800
- Re: [midgard-user] Some Tech... David Guerizec
- Re: [midgard-user] Some ... Emiliano
- RE: [midgard-user] Some ... Bhavin Turakhia
- Re: [midgard-user] Some ... Emiliano
- RE: [midgard-user] Some ... Bhavin Turakhia
- Re: [midgard-user] Some ... Emiliano
- RE: [midgard-user] Some ... Bhavin Turakhia
- Re: [midgard-user] Some ... Emiliano
- RE: [midgard-user] Some ... Bhavin Turakhia
- Re: [midgard-user] Some ... Emiliano
- Philipp Rotmann, Linksystem Muenchen
