Security Advisories (2)
CPANSA-Jifty-2011-01 (2011-03-17)

The path as passed in the fragment request data structure was used verbatim in the dispatcher and other locations. This possibly allowed requests to walk around ACLs by requesting '/some/safe/place/../../../dangerous' as a fragment.

CPANSA-Jifty-2009-01 (2009-04-09)

The REST plugin would let you call any method on the model.

NAME

Jifty::View::Declare::Compile - Compile Jifty templates into JavaScript

DESCRIPTION

EXPERIMENTAL: This code is currently under development and experimental. You will need to get the version of the B::Deparse package from the Subversion repository at:

http://svn.jifty.org/svn/jifty.org/B/

in order to use this class.

This is a subclass of B::Deparse that compiles Perl into JavaScript with the intention of allowing Jifty applications to render Template::Declare templates on the client.

This class does the dirty work of translating a Perl code reference in JavaScript.

See "client_cache_content" in Jifty::Web::PageRegion.

METHODS

is_scope

See B::Deparse.

is_state

See B::Deparse

null

See B::Deparse

padname

deparse

loop_common

maybe_my

maybe_parens_func

const

pp_undef

pp_sne

pp_grepwhile

mapop

e_anoncode

e_anonhash

pp_entersub

e_method

walk_linesq

compile_to_js

SEE ALSO

B::Deparse, "client_cache_content" in Jifty::Web::PageRegion