<?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"
	>
<channel>
	<title>Comments on: iTunes U. Authentication Gotchas</title>
	<atom:link href="http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/</link>
	<description>Where the Future Never Looks the Same Way Twice</description>
	<pubDate>Fri, 22 Aug 2008 02:03:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Stephen Tolton</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3982</link>
		<dc:creator>Stephen Tolton</dc:creator>
		<pubDate>Mon, 04 Aug 2008 21:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3982</guid>
		<description>&lt;p&gt;Phatency,&lt;/p&gt;

&lt;p&gt;Thanks for that simple fix.  I'll update the function the next time I get into that code base.&lt;/p&gt;

&lt;p&gt;That function was written very quickly, to fix a very specific issue, and even though it is very simple, it is not perfect.  It just shows that even very simple functions can contain bugs or have room for optimization and that the original programmer may not even see it.   That is basically an argument for open source development practices, right there.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Phatency,</p>

<p>Thanks for that simple fix.  I&#8217;ll update the function the next time I get into that code base.</p>

<p>That function was written very quickly, to fix a very specific issue, and even though it is very simple, it is not perfect.  It just shows that even very simple functions can contain bugs or have room for optimization and that the original programmer may not even see it.   That is basically an argument for open source development practices, right there.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Phatency</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3981</link>
		<dc:creator>Phatency</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3981</guid>
		<description>&lt;p&gt;Oh, by the way,  there is no "letter part" in url encoded characters, they are both hexadecimal numerals.
For example, scandinavian letter Ä is %C4, which your function wouldn't encode properly.
There's no need for checking if the character is numeral or letter either, Char.ToUpper returns the original value if it's a numeral. Sufficient simple change:
        if (s[i] == '%')
        {
          s[i + 1] = Char.ToUpper(s[i + 1]);
          s[1 + 2] = Char.ToUpper(s[i + 2]);
        }&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Oh, by the way,  there is no &#8220;letter part&#8221; in url encoded characters, they are both hexadecimal numerals.
For example, scandinavian letter Ä is %C4, which your function wouldn&#8217;t encode properly.
There&#8217;s no need for checking if the character is numeral or letter either, Char.ToUpper returns the original value if it&#8217;s a numeral. Sufficient simple change:
        if (s[i] == &#8216;%&#8217;)
        {
          s[i + 1] = Char.ToUpper(s[i + 1]);
          s[1 + 2] = Char.ToUpper(s[i + 2]);
        }</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Tolton</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3980</link>
		<dc:creator>Stephen Tolton</dc:creator>
		<pubDate>Mon, 04 Aug 2008 19:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3980</guid>
		<description>&lt;p&gt;Phatency,&lt;/p&gt;

&lt;p&gt;This problem seems to happen a lot.  There is a similar ParameterEncode() method in the RestChess OAuth source code.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Phatency,</p>

<p>This problem seems to happen a lot.  There is a similar ParameterEncode() method in the RestChess OAuth source code.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Phatency</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3979</link>
		<dc:creator>Phatency</dc:creator>
		<pubDate>Mon, 04 Aug 2008 19:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3979</guid>
		<description>&lt;p&gt;Thanks for the FixUrlEncoding function, I had the exact same problem (not with iTunes).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks for the FixUrlEncoding function, I had the exact same problem (not with iTunes).</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Baker</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3939</link>
		<dc:creator>Jesse Baker</dc:creator>
		<pubDate>Mon, 31 Mar 2008 03:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3939</guid>
		<description>&lt;p&gt;That's great thanks.&lt;/p&gt;

&lt;p&gt;You mention UTC it in number 3, but I'd glossed over it because I knew how to generate a timestamp in unix format. So of course I was sending local time.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That&#8217;s great thanks.</p>

<p>You mention UTC it in number 3, but I&#8217;d glossed over it because I knew how to generate a timestamp in unix format. So of course I was sending local time.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Waite</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3911</link>
		<dc:creator>Peter Waite</dc:creator>
		<pubDate>Fri, 25 Jan 2008 21:25:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3911</guid>
		<description>&lt;p&gt;Thanks, this is helpful.  I'm not an expert at porting the code from Java, can you send me a copy of the entire C# script?  Thanks!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, this is helpful.  I&#8217;m not an expert at porting the code from Java, can you send me a copy of the entire C# script?  Thanks!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Tolton</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3906</link>
		<dc:creator>Stephen Tolton</dc:creator>
		<pubDate>Fri, 04 Jan 2008 16:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3906</guid>
		<description>&lt;p&gt;Thanks.  I'm glad someone found it useful.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks.  I&#8217;m glad someone found it useful.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Dishaw</title>
		<link>http://www.alterzone.net/blog/2007/12/16/itunes-u-authentication-gotchas/#comment-3905</link>
		<dc:creator>Brian Dishaw</dc:creator>
		<pubDate>Thu, 03 Jan 2008 16:25:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alterzone.net/blog/2007/12/17/itunes-u-authentication-gotchas/#comment-3905</guid>
		<description>&lt;p&gt;This post was a life saver. Their documentation was lacking and it was taking a long time to figure out what exactly all the gotchas were.&lt;/p&gt;

&lt;p&gt;Thank you so much for posting this!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This post was a life saver. Their documentation was lacking and it was taking a long time to figure out what exactly all the gotchas were.</p>

<p>Thank you so much for posting this!</p>]]></content:encoded>
	</item>
</channel>
</rss>
