-Json parser scape all char
This commit is contained in:
tonikelope 2020-02-18 12:03:59 +01:00
parent a6caabe3a8
commit b107b6691d
5 changed files with 6 additions and 2 deletions

View File

@ -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>

View File

@ -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;

View File

@ -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) {

View File

@ -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