ASCII only filenames.

Fix test_unicode.
This commit is contained in:
bootstraponline
2012-07-09 13:33:14 -06:00
parent 772ffcc5e8
commit 3d2c8e7cc5
2 changed files with 12 additions and 23 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ module Precious
end
post '/create' do
name = params[:page].to_ascii
name = params[:page].to_url
path = sanitize_empty_params(params[:path])
format = params[:format].intern