Demo entry 6756937

py

   

Submitted by saa on Aug 06, 2018 at 08:47
Language: Java. Code size: 351 Bytes.

String method = request.getParameter("method") == null ? "" : request.getParameter("method").trim();
		if(!"uploadFile".equals(common)&&("json".equals(method)||"call".equals(method))){
				if(checkCrossDomain(request)){
					PrintWriter out = response.getWriter();
					out.print("{\"retcode\":\"9999\",\"retdesc\":\"非法请求!\"}");
					return;
		}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).