From 71947e30cc102e8512d76932dee015802a314d32 Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Tue, 17 Feb 2009 15:05:28 +0100 Subject: Fix two errors. Missing article added. Consistent (at least in this file) use of abbreviation. --- railties/guides/source/action_controller_overview.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/action_controller_overview.textile b/railties/guides/source/action_controller_overview.textile index 84d98dd6ed..949a962b27 100644 --- a/railties/guides/source/action_controller_overview.textile +++ b/railties/guides/source/action_controller_overview.textile @@ -589,7 +589,7 @@ With this in place, you can create namespaced controllers that inherit from +Adm h4. HTTP digest authentication -HTTP digest authentication is superior to the basic authentication as it does not require the client to send unencrypted password over the network (though HTTP basic authentication is safe over HTTPS). Using digest authentication with Rails is quite easy and only requires using one method, +authenticate_or_request_with_http_digest+. +HTTP digest authentication is superior to the basic authentication as it does not require the client to send an unencrypted password over the network (though HTTP basic authentication is safe over HTTPS). Using digest authentication with Rails is quite easy and only requires using one method, +authenticate_or_request_with_http_digest+. class AdminController < ApplicationController @@ -656,7 +656,7 @@ class ClientsController < ApplicationController end -This will read and stream the file 4Kb at the time, avoiding loading the entire file into memory at once. You can turn off streaming with the +:stream+ option or adjust the block size with the +:buffer_size+ option. +This will read and stream the file 4kB at the time, avoiding loading the entire file into memory at once. You can turn off streaming with the +:stream+ option or adjust the block size with the +:buffer_size+ option. WARNING: Be careful when using data coming from the client (params, cookies, etc.) to locate the file on disk, as this is a security risk that might allow someone to gain access to files they are not meant to see. -- cgit v1.2.3