Explorar o código

fixed : allowed lowercase remoting header.

Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
5bab18a236
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/haxe/remoting/Server.hx

+ 1 - 1
std/haxe/remoting/Server.hx

@@ -63,7 +63,7 @@ class Server {
 	}
 
 	public function handleRequest() {
-		if( neko.Web.getClientHeader("X-Haxe-Remoting") == null )
+		if( neko.Web.getClientHeader("X-Haxe-Remoting") == null && neko.Web.getClientHeader("x-haxe-remoting") == null )
 			return false;
 		var v = neko.Web.getParams().get("__x");
 		try {