Skip to content

Commit

Permalink
6.0.0.81 back out invalid json change LDEV-1503
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Apr 1, 2021
1 parent 73d5b7f commit fd72e52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ else if ((str.length() - pos) <= 10) {

protected Ref json(FunctionLibFunction flf, char start, char end) throws PageException {
if (!cfml.isCurrent(start)) return null;

/*
String[] str = cfml.toString().split(",");
if(cfml.getCurrent() == '{' && cfml.getNext() != '}' && str.length >1) {
outer:for(int i=0; i<str.length; i++) {
Expand All @@ -1035,6 +1035,7 @@ else if(strsplit[0].charAt(0) != '"' || (strsplit[1].charAt(0) != '"' && !Charac
}
}
}
*/

if (cfml.forwardIfCurrent('[', ':', ']') || cfml.forwardIfCurrent('[', '=', ']')) {
return new BIFCall(LITERAL_ORDERED_STRUCT, new Ref[0]);
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project default="core" basedir="." name="Lucee" xmlns:artifact="antlib:org.apache.maven.artifact.ant">

<property name="version" value="6.0.0.80-SNAPSHOT"/>
<property name="version" value="6.0.0.81-SNAPSHOT"/>

<path id="maven-ant-tasks.classpath" path="../ant/lib/maven-ant-tasks-2.1.3.jar" />
<typedef resource="org/apache/maven/artifact/ant/antlib.xml"
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.0.0.80-SNAPSHOT</version>
<version>6.0.0.81-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit fd72e52

Please sign in to comment.