<?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: Sinatra routing options</title>
	<atom:link href="http://www.gittr.com/index.php/archive/sinatra-routing-options/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gittr.com/index.php/archive/sinatra-routing-options/</link>
	<description>eval("eval(\"eval(\\\"puts 'a ruby weblog'\\\")\")")</description>
	<lastBuildDate>Mon, 30 Aug 2010 18:42:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-routing-options/comment-page-1/#comment-311</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 07 Jan 2010 16:19:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=13#comment-311</guid>
		<description>From a superficial inspection, your solution looks to do the same thing as mine, with much less mucking around.

Looking at it, there&#039;s probably a security issue if you use it as a reference to a file on the file system, but otherwise it&#039;d be fine.  (think of somebody going to /archive/../../../../../../../etc/passwd or whatever).</description>
		<content:encoded><![CDATA[<p>From a superficial inspection, your solution looks to do the same thing as mine, with much less mucking&nbsp;around.</p>
<p>Looking at it, there&#8217;s probably a security issue if you use it as a reference to a file on the file system, but otherwise it&#8217;d be fine.  (think of somebody going to /archive/../../../../../../../etc/passwd or&nbsp;whatever).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: klappy</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-routing-options/comment-page-1/#comment-310</link>
		<dc:creator>klappy</dc:creator>
		<pubDate>Thu, 07 Jan 2010 15:24:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=13#comment-310</guid>
		<description>as far as handling the full subfolders is there any downside to a this simple approach?
is there a security vulnerability that i am missing?

get &#039;/:toplevel/*&#039; do
  splat = params[:splat].join(&#039;/&#039;)
  splat
end</description>
		<content:encoded><![CDATA[<p>as far as handling the full subfolders is there any downside to a this simple approach?<br />
is there a security vulnerability that i am&nbsp;missing?</p>
<p>get &#8216;/:toplevel/*&#8217; do<br />
  splat = params[:splat].join(&#8216;/&#8217;)<br />
  splat<br />&nbsp;end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clifford Heath</title>
		<link>http://www.gittr.com/index.php/archive/sinatra-routing-options/comment-page-1/#comment-131</link>
		<dc:creator>Clifford Heath</dc:creator>
		<pubDate>Wed, 20 May 2009 04:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.gittr.com/?p=13#comment-131</guid>
		<description>Actually for the subfolders, you can now use a Regexp, or anything that responds to =~ in fact, as long as it doesn&#039;t also respond to to_str</description>
		<content:encoded><![CDATA[<p>Actually for the subfolders, you can now use a Regexp, or anything that responds to =~ in fact, as long as it doesn&#8217;t also respond to&nbsp;to_str</p>
]]></content:encoded>
	</item>
</channel>
</rss>
