2
0
Nicolas Cannasse 17 жил өмнө
parent
commit
b042d83c78
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      std/haxe/Http.hx

+ 1 - 1
std/haxe/Http.hx

@@ -270,7 +270,7 @@ class Http {
 		var request = url_regexp.matched(4);
 		if( request == "" )
 			request = "/";
-		var port = if( portString == null ) 80 else Std.parseInt(portString.substr(1,portString.length-1));
+		var port = if( portString == null || portString == "" ) 80 else Std.parseInt(portString.substr(1,portString.length-1));
 		var data;
 
 		var multipart = (file != null);