From 30ae727e6e6b2d2ca9fa21b229d8acd07d553e8c Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Fri, 28 Mar 2014 12:52:56 -0400 Subject: [PATCH] Fix path sanitization example in post. Props @gregose --- site/_posts/2014-03-27-jekyll-1-5-1-released.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/_posts/2014-03-27-jekyll-1-5-1-released.markdown b/site/_posts/2014-03-27-jekyll-1-5-1-released.markdown index 1eae60fb..e8a4096a 100644 --- a/site/_posts/2014-03-27-jekyll-1-5-1-released.markdown +++ b/site/_posts/2014-03-27-jekyll-1-5-1-released.markdown @@ -19,7 +19,7 @@ Well, we can't have that! In 1.5.1, you'll instead see: {% highlight ruby %} > sanitized_path("/tmp/foobar/jail", "..c:/..c:/..c:/etc/passwd") -=> "/tmp/foobar/jail/etc/passwd" +=> "/tmp/foobar/jail/..c:/..c:/..c:/etc/passwd" {% endhighlight %} Luckily not affecting 1.4.x, this fix will make 1.5.0 that much safer for