Nicolas Cannasse 6 năm trước cách đây
mục cha
commit
249e3cbeeb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/haxe/crypto/Base64.hx

+ 1 - 1
std/haxe/crypto/Base64.hx

@@ -65,7 +65,7 @@ class Base64 {
 		return str;
 	}
 
-	public static function urlEncode( str : String, complement = false ) : haxe.io.Bytes {
+	public static function urlDecode( str : String, complement = false ) : haxe.io.Bytes {
 		if( complement )
 			while( str.charCodeAt(str.length-1) == "=".code )
 				str = str.substr(0,-1);