[jifty-devel] Moniker name restrictions

Mikko Lipasti mikko.lipasti at polarcom.fi
Fri Jul 27 02:21:31 EDT 2007

Hello list,

I was surprised to find my template/action silently fail when using monikers with a dash, e.g. "01-something". Replacing the dash with an underscore fixed the problem.

"A moniker is an arbitrary-length nonempty string containing no semicolons."
This should be updated to forbid dashes.

Moreover, Jifty->web->new_action should warn (or die even) if moniker name contains forbidden characters. Currently, there's no warning, the action(s) just don't run.

Test results: (using Jifty::Test::WWW::Mechanize)
"0_bottom": ok
"0-bottom": silent failure
"0;bottom": ok (surprise!)

- Mikko

More information about the jifty-devel mailing list