Permalink
Browse files

"Shut down Cherokee-Admin" doesn't work

  • Loading branch information...
1 parent 0991288 commit ee20f94a3ddbcca752dbb51b3409fde209e8d7f5 @mehmetali committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/PageIndex.py
View
@@ -505,7 +505,7 @@ def __call__ (self):
CTK.publish (r'^/$', Render)
CTK.publish (r'^/launch$', Launch)
CTK.publish (r'^/stop$', Stop)
-CTK.publish (r'^/halt$', Halt)
+CTK.publish (r'^/halt', Halt)
CTK.publish (r'^/lang/apply', Lang_Apply, method="POST")
CTK.publish (r'^/proud/apply', ProudUsers_Apply, method="POST")
CTK.publish (r'^%s'%(SUBSCRIBE_APPLY), Subscribe_Apply, method="POST")

2 comments on commit ee20f94

@skinkie
skinkie commented on ee20f94 Aug 6, 2012

What is the reason that the regexp doesn't match? Should it be applied for the launch, stop as well?

@mehmetali
Owner

halt is post action and hits csrf protection(?key=). launch and stop just get action.

Please sign in to comment.