no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@489 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Frederico Palma 21 years ago
parent a9d50e4c02
commit 4a59a6b0b4

@ -33,6 +33,7 @@ public class siprpServlet extends HttpServlet
public static final String indexTemplate = "index.html"; public static final String indexTemplate = "index.html";
public static final String authenticatedUserTemplate = "user.html"; public static final String authenticatedUserTemplate = "user.html";
public static final String authenticatedUserPrintTemplate = "user_print.html";
public static final String errorTemplate = "frame_erro.html"; public static final String errorTemplate = "frame_erro.html";
public static final String innerErrorTemplate = "erro.html"; public static final String innerErrorTemplate = "erro.html";
@ -176,7 +177,8 @@ System.out.println( "query: " + queryString );
catch( NumberFormatException nfex ) catch( NumberFormatException nfex )
{ {
query = trabalhador; query = trabalhador;
if( !query.equals( "trabalhadores_tudo" ) && !query.equals( "trabalhadores_pendentes" ) ) if( query.indexOf( "trabalhadores_tudo" ) != 0 && query.indexOf( "trabalhadores_pendentes" ) != 0 &&
query.indexOf( "_print" ) == -1 )
{ {
throw nfex; throw nfex;
} }

Loading…
Cancel
Save