Re: Mason2: no default HTML escaping

Shane McCarron <[email protected]>
Newsgroups gmane.comp.web.mason.user
Message-ID <CACCbJAZoYqoQ-FhATw9=bTSg1Rw2tsZjuUEPELFmkYNcPCMMpA@mail.gmail.com>
I would prefer number two plus strong documentation encouraging the use of
the feature. Especially for newbies.
On Mar 6, 2012 6:13 PM, "Jonathan Swartz" <[email protected]> wrote:

> I hear your concerns. So I'm not sure which of these you are suggesting:
> 1) Substitution tags should be HTML-escaped by default in Mason.
> 2) DefaultFilter should be implemented and documented in core Mason, so
> that it doesn't require a separate plugin install.
>
> #1 is hard to do because Mason is supposed to be content-type agnostic -
> usable for HTML generation but also other kinds of content generation.
>
> #2 is more reasonable.
>
> On Mar 5, 2012, at 4:55 AM, Jérôme Étévé wrote:
>
> > On 5 March 2012 12:33, Pedro Melo <[email protected]> wrote:
> >
> >> For now I'm using the DefaultFilter plugin. It saves me a lot of
> >> typing and I believe it to be worth it, so my "problem" is solved.
> >
> > I Agree with Pedro. Being able to define a default filter and
> > explicitly choose another one (or none) when needed is much better
> > from a security point of view, but also for programming convenience
> > (who said I'm lazy at typing | html ? :)).
> >
> > After all, software that uses default settings (right now I'm thinking
> > of Catalyst's default model or default view) is not so uncommon..
> >
> >
> >> --
> >> Pedro Melo
> >> @pedromelo
> >> http://www.simplicidade.org/
> >> http://about.me/melo
> >> xmpp:[email protected]
> >> mailto:[email protected]
> >>
> >>
> ------------------------------------------------------------------------------
> >> Try before you buy = See our experts in action!
> >> The most comprehensive online learning library for Microsoft developers
> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> >> Metro Style Apps, more. Free future releases when you subscribe now!
> >> http://p.sf.net/sfu/learndevnow-dev2
> >> _______________________________________________
> >> Mason-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/mason-users
> >
> >
> >
> > --
> > Jerome Eteve.
> >
> > http://sigstp.blogspot.com/
> > http://twitter.com/jeteve
> >
> >
> ------------------------------------------------------------------------------
> > Try before you buy = See our experts in action!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-dev2
> > _______________________________________________
> > Mason-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mason-users
>
>
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users
>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/

_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.