Highlighted

CFCLIENTSETTINGS error in CF Server 2018

New Here ,
Oct 18, 2019

Copy link to clipboard

Copied

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-c/cfclientsettings.html

 

CFCLIENTSETTINGS produces an error in CF 2018 when HTML/CFML is added to the page.This error does not appear in CF2016.

"If you view the source of the page within your browser, you'll notice that the double quotations on line #17 are not properly escaped."

See attached:

Views

47

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

CFCLIENTSETTINGS error in CF Server 2018

New Here ,
Oct 18, 2019

Copy link to clipboard

Copied

https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-tags/tags-c/cfclientsettings.html

 

CFCLIENTSETTINGS produces an error in CF 2018 when HTML/CFML is added to the page.This error does not appear in CF2016.

"If you view the source of the page within your browser, you'll notice that the double quotations on line #17 are not properly escaped."

See attached:

Views

48

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 18, 2019 0
Adobe Community Professional ,
Oct 21, 2019

Copy link to clipboard

Copied

It really does seem so. Please report a bug.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 21, 2019 0
LEGEND ,
Oct 22, 2019

Copy link to clipboard

Copied

You are using " to delineate the string that contains " that are not escaped.  Use "" within the string and it should be fine.  Or change the internal " to '.

 

HTH,

 

^ _ ^

 

UPDATE:  Or, easiest part yet.. change the delineator from " to '.  You replace two, done.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 22, 2019 0