<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Witheringtree &#187; Coldfusion</title>
	<atom:link href="http://www.witheringtree.com/category/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.witheringtree.com</link>
	<description>If a tree falls in the forest and no one is around to hear it fall… yeah, it still makes a sound.</description>
	<lastBuildDate>Sat, 05 May 2012 15:15:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>CrystalTech Support</title>
		<link>http://www.witheringtree.com/2009/05/crystaltech-support/</link>
		<comments>http://www.witheringtree.com/2009/05/crystaltech-support/#comments</comments>
		<pubDate>Mon, 11 May 2009 02:05:19 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Website]]></category>
		<category><![CDATA[Fail]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=113</guid>
		<description><![CDATA[I decided to shut down my site and start from the ground up. The site was about 4 years old and was in need of a redesign. So I decided to make it a blog. In the blog I cold put all my source code and everything else I wanted to do. My site was &#8230; <a href="http://www.witheringtree.com/2009/05/crystaltech-support/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I decided to shut down my site and start from the ground up. The site was about 4 years old and was in need of a redesign. So I decided to make it a blog. In the blog I cold put all my source code and everything else I wanted to do.</p>
<p>My site was on a Coldfusion 7 server. So I requested that my host, CrystalTech, move it to a Coldfusion 8 server. I submitted the form and it said it would take up to 24 hours. After I woke up the next day I was excited to start working on the site. The problem was, after 31 hours, they still hadn&#8217;t moved it to the new server. So I submitted a ticket asking what the issue was. Apparently they never got the request. I have trouble believing this because I got the confirmation email that the request was submitted. So I had to resubmit the request and wait another 24 hours in order to start working on the site.</p>
<p>Ever since CrystalTech got bought up by Newtek, their server has really gone downhill. Every time I request something to be done, I have to stay on them to make sure they do it. Otherwise they mess it up somehow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2009/05/crystaltech-support/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script != InvalidTag</title>
		<link>http://www.witheringtree.com/2009/05/script-invalidtag/</link>
		<comments>http://www.witheringtree.com/2009/05/script-invalidtag/#comments</comments>
		<pubDate>Tue, 05 May 2009 03:54:50 +0000</pubDate>
		<dc:creator>David Freerksen</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Mango Blog]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.witheringtree.com/?p=81</guid>
		<description><![CDATA[I started putting a bunch of my source code in the labs section of the blog. What I started out doing was providing a link to click on to see the demo. From there you could right click and get the source. What I decided was better was to have the demo on the page &#8230; <a href="http://www.witheringtree.com/2009/05/script-invalidtag/" title="Continue reading">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I started putting a bunch of my source code in the labs section of the blog. What I started out doing was providing a link to click on to see the demo. From there you could right click and get the source. What I decided was better was to have the demo on the page which you would be able to right click and view source.</p>
<p>The problem I was running into was the &#8220;script&#8221; tags were getting converted to &#8220;InvalidTag&#8221; after I submitted the form. So a simple tag like &lt;script type=&#8221;text/javascript&#8221;&gt; would be converted to &lt;InvalidTag type=&#8221;text/javascript&#8221;&gt;</p>
<p>At first I thought it was Mango Blog that was at fault. It turns out Coldfusion was the one to blame. It&#8217;s called Global Script Protection. It&#8217;s in place starting with I think Coldfusion MX 7. It was created as a way to help prevent SQL injection. In Coldfusion Administrator, by default, it is set to &#8220;all&#8221; which means that script, embed, and I believe, object tags get converted to &#8220;InvalidTag.&#8221;</p>
<p>Unfortunatly my website is on a shared hosting server. So changing the Global Stript Protection wasn&#8217;t an option. I love Adobe! They even put a way to change the Global Script Protection inside the code.</p>
<p>In the cfapplication tag there is a property called scriptProtect. By detfault it is &#8220;all&#8221; This can be changed to &#8220;none&#8221; to disable it completely. You can also set it to a comma seperated list of variables to look at like &#8220;url, form, cookie&#8221;</p>
<p>So for the purposes of Mango Blog in the Application.cfc file in the administration area I added scriptProtect=&#8217;url, cookie&#8217; and I am able to post Javascript now. Comments still won&#8217;t be able to use Javascript because I only did this for the administration area.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.witheringtree.com/2009/05/script-invalidtag/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

