How to prevent Coldfusion from injecting cfform.js into the head section?

HTML template passed to Coldfusion. The main template tag has an additional attribute:

<head profile="http://abc.com">

The problem is that when generating output based on this template, Coldfusion injects its scripts inside the main tag:

<head <script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
profile="http://abc.com">

This causes the profile="http://abc.com">top of the page to appear and prevents the page from being checked.

Code entry occurs only when there is a form tag. Incorrect entries do not occur if the head tag has no attributes. The presence of an attribute is a project requirement and cannot be omitted.

Is it possible to prevent Coldfusion from scripting?

+5
source share
2

script cfforms, . - cfform, .

.

+5

:

<html>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<head>

CF , ,

<!DOCTYPE html>
<html class=" ext-strict">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script type="text/javascript">/* <![CDATA[ */_cf_loadingtexthtml="<img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/>";
_cf_contextpath="";
_cf_ajaxscriptsrc="/CFIDE/scripts/ajax";
_cf_jsonprefix='//';
_cf_clientid='9851DA49BD375D9722A9D6B1951976AC';/* ]]> */</script><<script type="text/javascript" src="/CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js"></script>
+2

All Articles