Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CFCLIENTSETTINGS error in CF Server 2018

New Here ,
Oct 18, 2019 Oct 18, 2019

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:

204
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 21, 2019 Oct 21, 2019

It really does seem so. Please report a bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 22, 2019 Oct 22, 2019
LATEST

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.

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