[Rt-commit] r15672 - rt/branches/3.999-DANGEROUS/lib/RT
clkao at bestpractical.com
clkao at bestpractical.com
Sun Aug 31 08:35:22 EDT 2008
Author: clkao
Date: Sun Aug 31 08:35:20 2008
New Revision: 15672
Modified:
rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm
Log:
bypass __jifty/css and __jifty/js for auth.
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Dispatcher.pm Sun Aug 31 08:35:20 2008
@@ -98,7 +98,8 @@
before qr'^/(?!login)' => run {
tangent '/login'
unless ( Jifty->web->current_user->id
- || Jifty->web->request->path =~ /NoAuth/i );
+ || Jifty->web->request->path =~ /NoAuth/i
+ || Jifty->web->request->path =~ m{^/__jifty/(css|js)} );
};
before qr/(.*)/ => run {
More information about the Rt-commit
mailing list