<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: cfqueryparam / regular expression</title>
	<atom:link href="http://bloginblack.de/2010/02/cfqueryparam-regular-expression/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloginblack.de/2010/02/cfqueryparam-regular-expression/</link>
	<description>Protecting the web from bad ColdFusion code (since 2003)</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:37:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Charles</title>
		<link>http://bloginblack.de/2010/02/cfqueryparam-regular-expression/comment-page-1/#comment-18625</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Mon, 01 Nov 2010 15:39:18 +0000</pubDate>
		<guid isPermaLink="false">http://bloginblack.de/?p=1108#comment-18625</guid>
		<description>Well,

I&#039;m not as technical oriented as you, but face a similar situation.  But I ran into a little frustration trying to follow your blog.

Since there is no &quot;by&quot; in Coldfusion REPLACE, nor in Javascript, it would have been nice to let readers also know how you actually ran the replace command against the suspect files.  I hope the reader can come up with an environment for using it (depending on whether they are in Linux or Window - since you left that out as well).

Maybe you used Microsoft Word?  (Not available in Linux).  I guess you could load the file into memory and use Coldfusion to do the replacements.  Personally, I&#039;m looking into using a Linux script for it.  First I&#039;d like to test it on some test files to see how it does.

Never assume the reader that needs this has ANY background on HOW to do it.

Thanks for posting this as it may be helpful to some, but if you&#039;re gonna throw a bone, try to leave a little meat on it ;-)</description>
		<content:encoded><![CDATA[<p>Well,</p>
<p>I&#8217;m not as technical oriented as you, but face a similar situation.  But I ran into a little frustration trying to follow your blog.</p>
<p>Since there is no &#8220;by&#8221; in Coldfusion REPLACE, nor in Javascript, it would have been nice to let readers also know how you actually ran the replace command against the suspect files.  I hope the reader can come up with an environment for using it (depending on whether they are in Linux or Window &#8211; since you left that out as well).</p>
<p>Maybe you used Microsoft Word?  (Not available in Linux).  I guess you could load the file into memory and use Coldfusion to do the replacements.  Personally, I&#8217;m looking into using a Linux script for it.  First I&#8217;d like to test it on some test files to see how it does.</p>
<p>Never assume the reader that needs this has ANY background on HOW to do it.</p>
<p>Thanks for posting this as it may be helpful to some, but if you&#8217;re gonna throw a bone, try to leave a little meat on it <img src='http://bloginblack.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marcus</title>
		<link>http://bloginblack.de/2010/02/cfqueryparam-regular-expression/comment-page-1/#comment-1240</link>
		<dc:creator>marcus</dc:creator>
		<pubDate>Wed, 10 Feb 2010 14:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://bloginblack.de/?p=1108#comment-1240</guid>
		<description>@Eric: thanks for the tip - I didn&#039;t know qpscanner at all...
Does it have advantages over a grep search? I could have tweaked the grep expression using regex, but my (indeed rather simple) solution did the trick as far as this project is concerned. I just needed a list of files containing cfquery and was too lazy to replace all variables manually. If you ever needed to type  on a german keyboard, you know what I&#039;m talking about ;-)</description>
		<content:encoded><![CDATA[<p>@Eric: thanks for the tip &#8211; I didn&#8217;t know qpscanner at all&#8230;<br />
Does it have advantages over a grep search? I could have tweaked the grep expression using regex, but my (indeed rather simple) solution did the trick as far as this project is concerned. I just needed a list of files containing cfquery and was too lazy to replace all variables manually. If you ever needed to type  on a german keyboard, you know what I&#8217;m talking about <img src='http://bloginblack.de/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Boughton</title>
		<link>http://bloginblack.de/2010/02/cfqueryparam-regular-expression/comment-page-1/#comment-1141</link>
		<dc:creator>Peter Boughton</dc:creator>
		<pubDate>Sat, 06 Feb 2010 16:16:09 +0000</pubDate>
		<guid isPermaLink="false">http://bloginblack.de/?p=1108#comment-1141</guid>
		<description>The problem with the above regex solution - and the key reason qpscanner doesn&#039;t do fixing yet - is that regex can&#039;t handle CFML parsing.

Some simple examples:
&#039;#this#and#that#&#039;
&#039;apos&#039;&#039;#trophe#&#039;
&quot;and &#039;#so(on,&quot;&#039;&quot;)#&quot;

If people are going to rely on qpscanner for auto-fixing, it needs to be near-perfect, and that needs a proper parser rather than simple regex.</description>
		<content:encoded><![CDATA[<p>The problem with the above regex solution &#8211; and the key reason qpscanner doesn&#8217;t do fixing yet &#8211; is that regex can&#8217;t handle CFML parsing.</p>
<p>Some simple examples:<br />
&#8216;#this#and#that#&#8217;<br />
&#8216;apos&#8221;#trophe#&#8217;<br />
&#8220;and &#8216;#so(on,&#8221;&#8216;&#8221;)#&#8221;</p>
<p>If people are going to rely on qpscanner for auto-fixing, it needs to be near-perfect, and that needs a proper parser rather than simple regex.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Cobb</title>
		<link>http://bloginblack.de/2010/02/cfqueryparam-regular-expression/comment-page-1/#comment-1125</link>
		<dc:creator>Eric Cobb</dc:creator>
		<pubDate>Fri, 05 Feb 2010 22:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://bloginblack.de/?p=1108#comment-1125</guid>
		<description>I feel your pain, I&#039;ve been in that situation before.  Here&#039;s a useful tool for scanning your code and telling you what queries need paraming,  http://qpscanner.riaforge.org/.  Although it only tells you where the problems are, it doesn&#039;t fix them for you.  

Your regex solution seems pretty slick, you should think about expanding on the qpscanner and making a tool that finds AND fixes your queries.  ;)</description>
		<content:encoded><![CDATA[<p>I feel your pain, I&#8217;ve been in that situation before.  Here&#8217;s a useful tool for scanning your code and telling you what queries need paraming,  <a href="http://qpscanner.riaforge.org/" rel="nofollow">http://qpscanner.riaforge.org/</a>.  Although it only tells you where the problems are, it doesn&#8217;t fix them for you.  </p>
<p>Your regex solution seems pretty slick, you should think about expanding on the qpscanner and making a tool that finds AND fixes your queries.  <img src='http://bloginblack.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

