[jifty-devel] Moniker name restrictions
Jesse Vincent
jesse at bestpractical.com
Fri Jul 27 12:10:08 EDT 2007
Mikko,
I'm so sorry you got bit by that. Would you be willing to accept a commit bit to help improve Jifty? - I just need the output of htpasswd -n (off list ;)
Best,
jesse
------- Original message -------
From: Mikko Lipasti <mikko.lipasti at polarcom.fi>
Sent: 26.7.'07, 23:21
> 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.
>
> http://search.cpan.org/~jesse/Jifty-0.70422/lib/Jifty/Manual/Glossary.pod#moniker:
> "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
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
More information about the jifty-devel
mailing list