mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-04-30 14:44:33 +02:00
7.16
-Json parser scape all char
This commit is contained in:
parent
a6caabe3a8
commit
b107b6691d
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.tonikelope</groupId>
|
||||
<artifactId>MegaBasterd</artifactId>
|
||||
<version>7.15</version>
|
||||
<version>7.16</version>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -55,7 +55,7 @@ import javax.swing.UIManager;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "7.15";
|
||||
public static final String VERSION = "7.16";
|
||||
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
|
@ -641,6 +641,8 @@ public class MegaAPI implements Serializable {
|
||||
|
||||
objectMapper.configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true);
|
||||
|
||||
objectMapper.configure(JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, true);
|
||||
|
||||
res_map = objectMapper.readValue(att, HashMap.class);
|
||||
|
||||
} catch (Exception ex) {
|
||||
|
@ -154,6 +154,8 @@ public class MegaCrypterAPI {
|
||||
|
||||
objectMapper.configure(JsonParser.Feature.ALLOW_SINGLE_QUOTES, true);
|
||||
|
||||
objectMapper.configure(JsonParser.Feature.ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER, true);
|
||||
|
||||
HashMap res_map = objectMapper.readValue(res, HashMap.class);
|
||||
|
||||
String fname = cleanFilename((String) res_map.get("name"));
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 217 KiB After Width: | Height: | Size: 224 KiB |
Loading…
x
Reference in New Issue
Block a user