<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>newschuyl</title>
			<link>http://www.mischefamily.com/nathan/index.cfm</link>
			<description>a blog by nathan mische</description>
			<language>en-us</language>
			<pubDate>Mon, 06 Sep 2010 19:24:28-0400</pubDate>
			<lastBuildDate>Fri, 13 Aug 2010 11:28:00-0400</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>nmische@gmail.com</managingEditor>
			<webMaster>nmische@gmail.com</webMaster>
			
			<item>
				<title>ImageCrop: The rectangular crop area must not be outside the image</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/8/13/ImageCrop-The-rectangular-crop-area-must-not-be-outside-the-image</link>
				<description>
				
				Today I was resizing and cropping some images with ColdFusion when I ran into the following issue. After resizing the image using ImageScaleToFit(), ImageCrop() would throw an error stating that &quot;The rectangular crop area must not be outside the image.&quot; I was able to confirm that the crop area was not outside of the image, so I was a little perplexed. Then I found the following listed as a &lt;a href=&quot;http://java.sun.com/products/java-media/jai/jai-bugs.html&quot;&gt;known JAI bug&lt;/a&gt;:  [More]
				</description>
				
				<category>ColdFusion</category>				
				
				<category>Java</category>				
				
				<pubDate>Fri, 13 Aug 2010 11:28:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/8/13/ImageCrop-The-rectangular-crop-area-must-not-be-outside-the-image</guid>
				
			</item>
			
			<item>
				<title>WebSockets with ColdFusion</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/7/28/WebSockets-with-ColdFusion</link>
				<description>
				
				Today I released a &lt;a href=&quot;http://github.com/nmische/cf-websocket-gateway&quot;&gt;ColdFusion WebSocket Gateway&lt;/a&gt; on &lt;a href=&quot;http://websocketgateway.riaforge.org/&quot;&gt;RIAForge&lt;/a&gt; and &lt;a href=&quot;http://github.com/nmische/cf-websocket-gateway&quot;&gt;Github&lt;/a&gt;. The name pretty much says it all. It is a event gateway for messaging between ColdFusion and conforming clients via the WebSocket protocol. The gateway is based on &lt;a href=&quot;http://github.com/TooTallNate/Java-WebSocket&quot; target=&quot;_blank&quot;&gt;Nathan Rajlich&apos;s Java-WebSocket&lt;/a&gt; server implementation, which I updated to support both WebSocket draft 75 and draft 76 clients. For more info on how to install and use this gateway see the &lt;a href=&quot;http://wiki.github.com/nmische/cf-websocket-gateway/&quot;&gt;Github wiki page&lt;/a&gt;.  [More]
				</description>
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 28 Jul 2010 21:47:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/7/28/WebSockets-with-ColdFusion</guid>
				
			</item>
			
			<item>
				<title>OpenID4CF Updated To Fix Potential Security Issue</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/7/18/OpenID4CF-Updated-To-Fix-Potential-Security-Issue</link>
				<description>
				
				Last week I gave a 30 minute introduction to &lt;a href=&quot;http://openid.net&quot;&gt;OpenID&lt;/a&gt; at our monthly developer tech talk lunch. Soon after the talk my co-worker &lt;a href=&quot;http://www.peregrinesalon.com/&quot;&gt;Tim Allen&lt;/a&gt; sent me &lt;a href=&quot;http://www.computerworld.com/s/article/9179224/Researchers_Authentication_crack_could_affect_millions&quot;&gt;this article&lt;/a&gt; on a recently discovered security vulnerability in most open source OpenID implementations.

I was particularly interested because I maintain &lt;a href=&quot;http://openid4cf.riaforge.org/&quot;&gt;OpenID4CF&lt;/a&gt;, which is based on the &lt;a href=&quot;http://code.google.com/p/openid4java/&quot;&gt;OpenID4Java&lt;/a&gt; library. So I did a little more research into the issue and asked about it on the OpenID4Java mailing list. As it turns out OpenID4Java is potentially vulnerable to this attack, but a user on the list was able to give some advice on how to patch the library based on a fix committed to &lt;a href=&quot;http://code.google.com/p/jopenid/&quot;&gt;JOpenID&lt;/a&gt;. 

Now I don&apos;t really know how exploitable this vulnerability is, but given how simple the fix was I went ahead and &lt;a href=&quot;http://openid4cf.riaforge.org/index.cfm?event=page.svnchangelist&amp;revision=7&quot;&gt;patched&lt;/a&gt; the fork of OpenID4Java I package for OpenID4CF and posted it to RIAForge. Hopefully OpenID4Java will be patched shortly, but in the meantime you can use the version I include with OpenID4CF if you want to protect against this potential vulnerability. 
				</description>
				
				<category>Security</category>				
				
				<category>ColdFusion</category>				
				
				<category>Java</category>				
				
				<pubDate>Sun, 18 Jul 2010 13:36:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/7/18/OpenID4CF-Updated-To-Fix-Potential-Security-Issue</guid>
				
			</item>
			
			<item>
				<title>Listening for CFTREE data loaded events</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/5/28/Listening-for-CFTREE-data-loaded-events</link>
				<description>
				
				Last week &lt;a href=&quot;http://www.coldfusionjedi.com&quot;&gt;Ray Camden&lt;/a&gt; asked if it was possible to listen for data loaded events with CFTREE. I had &lt;a href=&quot;http://www.mischefamily.com/nathan/index.cfm/2007/6/4/ColdFusion-8--Tapping-Into-the-Power-of-the-YUI&quot;&gt;done some work with CFTREE&lt;/a&gt; in the past and I knew something like this should be possible. After some quick investigation I put together a quick and dirty example to show how you could be notified when new nodes are loaded for a tree.  [More]
				</description>
				
				<category>JavaScript</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 28 May 2010 08:50:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/5/28/Listening-for-CFTREE-data-loaded-events</guid>
				
			</item>
			
			<item>
				<title>Adobe ColdFusion Anthology</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/4/30/Adobe-ColdFusion-Anthology</link>
				<description>
				
				Just a quick post to let people know that the &lt;a href=&quot;http://amzn.com/1430272155&quot; target=&quot;_blank&quot;&gt;&lt;i&gt;Adobe ColdFusion Anthology&lt;/i&gt;&lt;/a&gt; was released today by Apress. The book has tons of excellent content from the Fusion Authority Quarterly Update, including my article &quot;Web Services and Complex Types.&quot; 
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 30 Apr 2010 12:12:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/4/30/Adobe-ColdFusion-Anthology</guid>
				
			</item>
			
			<item>
				<title>OpenID And ColdFusion</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/4/16/OpenID-And-ColdFusion</link>
				<description>
				
				Recently I wanted to investigate building an OpenID identity provider in ColdFusion. While there are a few OpenID consumer libraries out there, I didn&apos;t really find any ColdFusion implementations for an OpenID server. Plus, given that OpenID is an authentication protocol there are heightened security considerations, so I wanted something that was well tested and widely used. This lead me to the &lt;a href=&quot;http://code.google.com/p/openid4java/&quot;&gt;OpenID4Java&lt;/a&gt; project. Looking at the documentation and source for the project there appeared to be pretty straight forward implementations for both an OpenID provider and consumer via the ServerManager and ConsumerManager classes so I began to port the sample JSP applications over to ColdFusion. That is were my problems began.  [More]
				</description>
				
				<category>Security</category>				
				
				<category>ColdFusion</category>				
				
				<category>Java</category>				
				
				<pubDate>Fri, 16 Apr 2010 12:46:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/4/16/OpenID-And-ColdFusion</guid>
				
			</item>
			
			<item>
				<title>CF No Debug 1.3</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/3/4/CF-No-Debug-13</link>
				<description>
				
				The CF No Debug Firefox extension has been updated to work with Firefox 3.6. You can get the latest from &lt;a href=&quot;http://cfnodebug.riaforge.org&quot; target=&quot;_blank&quot;&gt;RIAForge&lt;/a&gt;. 
				</description>
				
				<category>Tools</category>				
				
				<category>CF No Debug</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Thu, 04 Mar 2010 15:50:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/3/4/CF-No-Debug-13</guid>
				
			</item>
			
			<item>
				<title>AMF Explorer 0.6</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/3/1/AMF-Explorer-06</link>
				<description>
				
				This evening I released &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/78928&quot; target=&quot;_blank&quot;&gt;AMF Explorer 0.6&lt;/a&gt;. This version adds a custom binary cache that should fix issues some users were seeing with AMF response deserialization. I&apos;m still waiting for AMO public approval, so if you are using AMF Explorer you will need to manually update the add-on from the AMO site. Please be sure to report any issues to the &lt;a href=&quot;http://amfexplorer.riaforge.org/index.cfm?event=page.issues&quot; target=&quot;_blank&quot;&gt;AMF Explorer bug tracker at RIAForge&lt;/a&gt;. Thanks. 
				</description>
				
				<category>Flash</category>				
				
				<category>Tools</category>				
				
				<category>AMF Explorer</category>				
				
				<category>Flex</category>				
				
				<pubDate>Mon, 01 Mar 2010 21:34:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/3/1/AMF-Explorer-06</guid>
				
			</item>
			
			<item>
				<title>AMF Explorer 0.5</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/2/23/AMF-Explorer-05</link>
				<description>
				
				I&apos;ve released a few updates to AMF Explorer over the last week or so. Improvements include support for small messages, better formatting, and better error messages. You can get the latest from the &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/78928&quot;&gt;&lt;acronym title=&quot;addons.mozilla.org&quot;&gt;AMO&lt;/acronym&gt; site&lt;/a&gt;.

Unfortunately automatic updates are not enabled because AMF Explorer has yet to go public. If you are using AMF Explorer please consider taking the time to register and review the add-on on &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/78928&quot;&gt;the &lt;acronym title=&quot;addons.mozilla.org&quot;&gt;AMO&lt;/acronym&gt; site&lt;/a&gt; as this will help with &lt;a href=&quot;https://addons.mozilla.org/en-US/developers/docs/policies/reviews&quot;&gt;the &lt;acronym title=&quot;addons.mozilla.org&quot;&gt;AMO&lt;/acronym&gt; review process&lt;/a&gt;. Once the add-on is public it will be easier to find and install as it will not be marked as experimental and automatic updates will be enabled. Thanks! 
				</description>
				
				<category>Flash</category>				
				
				<category>Tools</category>				
				
				<category>AMF Explorer</category>				
				
				<category>Flex</category>				
				
				<pubDate>Tue, 23 Feb 2010 12:52:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/2/23/AMF-Explorer-05</guid>
				
			</item>
			
			<item>
				<title>Vote Now</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/2/18/Vote-Now</link>
				<description>
				
				If you use, or would like to use, &lt;a href=&quot;http://getfirebug.com&quot;&gt;Firebug&lt;/a&gt; or &lt;a href=&quot;http://coldfire.riaforge.org&quot;&gt;ColdFire&lt;/a&gt; please consider &lt;a href=&quot;http://callforspeakers.cfconf.org/?event=vote&amp;eventId=188&quot;&gt;voting for my CFUnited topic&lt;/a&gt;: Debugging ColdFusion Web Applications With Firebug and ColdFire. Using practical debugging examples,  the presentation covers many of the core features Firebug and ColdFire. I also try hit some of the lesser know features for those more experienced with these Firefox add-ons. 
				</description>
				
				<category>ColdFire</category>				
				
				<pubDate>Thu, 18 Feb 2010 20:35:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/2/18/Vote-Now</guid>
				
			</item>
			
			<item>
				<title>Announcing AMF Explorer</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/2/17/Announcing-AMF-Explorer</link>
				<description>
				
				Back in late 2008 the nsITraceableChannel interface was added to the Mozilla browser allowing extension developers to intercept incoming HTTP responses. At that time &lt;a href=&quot;http://www.mischefamily.com/nathan/index.cfm/2008/12/23/Debugging-Flex-with-ColdFire&quot;&gt;I pondered the possibility of adding AMF support to Firebug&lt;/a&gt;, however life got in the way and I never really had time to fully explore what it would take to do this. That is until now. Today I&apos;m happy to announce that I&apos;m finally releasing &lt;a href=&quot;http://amfexplorer.riaforge.org&quot;&gt;AMF Explorer&lt;/a&gt;.  [More]
				</description>
				
				<category>Flash</category>				
				
				<category>Tools</category>				
				
				<category>AMF Explorer</category>				
				
				<category>Flex</category>				
				
				<pubDate>Wed, 17 Feb 2010 11:30:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/2/17/Announcing-AMF-Explorer</guid>
				
			</item>
			
			<item>
				<title>CF Debug Copy for Firefox Update</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/1/27/CF-Debug-Copy-for-Firefox-Update</link>
				<description>
				
				Just a quick post to let people know my &lt;a href=&quot;http://cfdebugcopy.riaforge.org&quot; target=&quot;_blank&quot;&gt;CF Debug Copy for Firefox&lt;/a&gt; extension has been updated to work with Firefox 3.6. You can download the latest from &lt;a href=&quot;http://cfdebugcopy.riaforge.org&quot; target=&quot;_blank&quot;&gt;RIAForge&lt;/a&gt;. 
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 27 Jan 2010 21:40:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/1/27/CF-Debug-Copy-for-Firefox-Update</guid>
				
			</item>
			
			<item>
				<title>New ColdFire 1.5 Beta</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/1/25/New-ColdFire-15-Beta</link>
				<description>
				
				I&apos;ve posted a new &lt;a href=&quot;http://coldfire.riaforge.org&quot; target=&quot;_blank&quot;&gt;ColdFire beta to RIAForge&lt;/a&gt; which works with recently released Firefox 3.6 and Firebug 1.5. I&apos;m labeling this a beta because I discovered a ColdFusion 9 compatibility issue in my testing for this release. It appears ColdFusion&apos;s built in AJAX libraries have been updated slightly so the &quot;Enable CFAJAX Debugging&quot; feature does not currently work with CF 9. I&apos;ll work on updating this feature in the next couple of weeks. (Unfortunately the AJAX libraries shipped with CF are minimized and obfuscated so working with them is not as easy as it could be.) Because of the beta status of this release I&apos;ve included both the ColdFire 1.4 and ColdFire 1.5 releases in the current RIAForge download. As always, if you have any issues please report them on the &lt;a href=&quot;http://coldfire.riaforge.org&quot; target=&quot;_blank&quot;&gt;RIAForge project site&lt;/a&gt;. 
				</description>
				
				<category>ColdFire</category>				
				
				<category>Tools</category>				
				
				<pubDate>Mon, 25 Jan 2010 21:42:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/1/25/New-ColdFire-15-Beta</guid>
				
			</item>
			
			<item>
				<title>Interesting IE 302 Redirection Issue</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2010/1/15/Interesting-IE-302-Redirection-Issue</link>
				<description>
				
				Yesterday I helped a coworker track down an interesting issue with &lt;a href=&quot;http://en.wikipedia.org/wiki/URL_redirection#HTTP_status_codes_3xx&quot; target=&quot;_blank&quot;&gt;302 URL redirection&lt;/a&gt; in IE that I thought I&apos;d share. Here is a brief run down of what my co-worker was observing:

&lt;ul&gt;
&lt;li&gt;Users would log into a courseware application, setting a single sign-on cookie. For the purposes of this description lets say the URLwas https://sitea.domain.com.
&lt;li&gt;Users would then link out to a related application covered by the single sign-on. Lets say the URL for this related application was https://siteb.domain.com/appa.
&lt;li&gt;When users clicked the link in Internet Explorer, instead of being logged in to the related application users were being redirected back to a non existent page in the courseware application, https://sitea.domain.com/appa/index.cfm.
&lt;/ul&gt;

What was interesting about this was that everything worked fine in Firefox, only IE seemed to be having this problem. Realizing the issue probably had something to do with the handling of the SSO in the linked-to application I fired up a proxy (&lt;a href=&quot;http://kevinlangdon.com/serviceCapture/&quot; target=&quot;_blank&quot;&gt;ServiceCapture&lt;/a&gt; in this case) to watch the login process. Here is what I saw:

&lt;ul&gt;
&lt;li&gt;When users clicked the &quot;link&quot; in the courseware application they were actually being forwarded to the target application via a 302 HTTP header:

&lt;code&gt;
HTTP/1.1 302 Found
Location: https://siteb.domain.com/appa/
&lt;/code&gt;

&lt;li&gt;That redirection was immediately followed by another 302 redirection:

&lt;code&gt;
HTTP/1.1 302 Found
Location: /appa/index.cfm
&lt;/code&gt;

&lt;/ul&gt;

Looking at the code of the linked-to application I could see that after logging in, which happens automatically on the first visit if the user has the appropriate SSO cookie, the application redirected users back to the home page using a relative URL. The issue was that IE was was calculating this relative URL using the base URL of the original request, https://sitea.domain.com in this example, and not taking into consideration the intermediate redirection to https://siteb.domain.com/appa. Firefox seemed to do a &quot;better&quot; of job of keeping track of which base URL to use for calculating relative URLs. I say &quot;better&quot; because Firefox&apos;s behavior seems to make more sense to me. 

So there you have it, another reason to love IE. 
				</description>
				
				<category>Misc</category>				
				
				<pubDate>Fri, 15 Jan 2010 10:51:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2010/1/15/Interesting-IE-302-Redirection-Issue</guid>
				
			</item>
			
			<item>
				<title>CFBuilder DocShare Support</title>
				<link>http://www.mischefamily.com/nathan/index.cfm/2009/12/7/CFBuilder-DocShare-Support</link>
				<description>
				
				A few weeks ago Terry Ryan released his &lt;a href=&quot;http://www.terrenceryan.com/blog/post.cfm/instant-code-review-coldfusion-builder-extension&quot;&gt;Instant Code Review ColdFusion Builder Extension&lt;/a&gt;. I realize that the point of the extension was to get people to think of creative uses of CF Builder extensions, but I couldn&apos;t help but think that there are much better ways of collaborating using the Eclipse platform, specifically the &lt;a href=&quot;http://wiki.eclipse.org/DocShare_Plugin&quot;&gt;Eclipse Communication Framework (ECF) DocShare plug-in&lt;/a&gt;.

Unfortunately ColdFusion Builder&apos;s CFML Editor doesn&apos;t support the plug-in out of the box. Fortunately the DocShare plug-in developers did the Eclipse thing and &lt;a href=&quot;http://wiki.eclipse.org/Extending_Real-Time_Shared_Editing_for_Use_with_Other_Editors&quot;&gt;made it easy to extend the plug-in to support other editors&lt;/a&gt;. So I put together an Eclipse plug-in that adds DocShare support to the CFBuilder CFML editor. You can check out the &lt;a href=&quot;http://cfbdocshare.riaforge.org/&quot;&gt;CFBuilder DocShare Support&lt;/a&gt; plug-in at RIAForge.

A few notes about the plug-in. First, you will need to install ECF, including the DocShare plugin. For update URLs for your version of Eclipse see the &lt;a href=&quot;http://www.eclipse.org/ecf/downloads.php&quot;&gt;ECF site&lt;/a&gt;. Second, my plug-in just enables the &quot;Share This Editor With...&quot; context menu item in the CF Builder CFML editor, the actual editor sharing is implemented via the ECF DocShare plug-in. For more info on the DocShare plug-in and its use see the &lt;a href=&quot;http://wiki.eclipse.org/DocShare_Plugin&quot;&gt;DocShare Plugin&lt;/a&gt; site. Finally, I&apos;ve had I&apos;ve had hit and miss luck with the DocShare plugin, so be sure you have a backup of the file you plan to work on in shared editor.

Enjoy! 
				</description>
				
				<category>Tools</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Mon, 07 Dec 2009 21:40:00-0400</pubDate>
				<guid>http://www.mischefamily.com/nathan/index.cfm/2009/12/7/CFBuilder-DocShare-Support</guid>
				
			</item>
			</channel></rss>