[cpif] r306 - trunk/frontend-web
svn at argo.es
svn at argo.es
Mon Jul 30 18:30:15 CEST 2007
Author: jcea
Date: Mon Jul 30 18:30:12 2007
New Revision: 306
Log:
Modified:
trunk/frontend-web/url_toggle_monitor_AJAX.py
Modified: trunk/frontend-web/url_toggle_monitor_AJAX.py
==============================================================================
--- trunk/frontend-web/url_toggle_monitor_AJAX.py (original)
+++ trunk/frontend-web/url_toggle_monitor_AJAX.py Mon Jul 30 18:30:12 2007
@@ -4,9 +4,12 @@
@monitor
def gestiona_url(conn,handler,path,usuario) :
- if len(path)!=2 : return None
+ if len(path)!=3 : return None
try :
- num_thread=int(path[1])
+ tipo=path[1]
+ if (tipo!="thread") and (tipo!="metatag") :
+ return None
+ num_thread=int(path[2])
except :
return None
More information about the cpif
mailing list