adaoraul/rack-jekyll — pull request #7 by mirthlab (2011-12-28 04:31:41+00:00)
Title: Added ruby 1.9 support

String.length changed in ruby to return character size, not byte size. This change was causing the Content-Length header to be incorrectly set on ruby 1.9. This should fix the issue on 1.9 with backwards compatibility for ruby versions < 1.9.