testing blockquote

This commit is contained in:
Kashyap 2013-01-09 21:48:02 +05:30
parent 8d718ef1aa
commit 64a659c731
1 changed files with 10 additions and 12 deletions

View File

@ -1346,23 +1346,21 @@ You can also hand in an array in order to disable a list of protections:
__**absolute_redirects**__
>If disabled, Sinatra will allow relative redirects,
>however, Sinatra will no longer conform with RFC 2616
>(HTTP 1.1), which only allows absolute redirects.
> If disabled, Sinatra will allow relative redirects, however, Sinatra will no
longer conform with RFC 2616 (HTTP 1.1), which only allows absolute redirects.
>Enable if your app is running behind a reverse proxy that
>has not been set up properly. Note that the `url` helper
>will still produce absolute URLs, unless you pass in
>`false` as the second parameter.
> Enable if your app is running behind a reverse proxy that has not been set up
properly. Note that the `url` helper will still produce absolute URLs, unless you
pass in `false` as the second parameter.
Disabled per default.
> Disabled per default.
[add_charsets] mime types the `content_type` helper will
automatically add the charset info to.
__**add_charsets**__
> mime types the `content_type` helper will automatically add the charset info to.
You should add to it rather than overriding this option:
You should add to it rather than overriding this option:
settings.add_charsets << "application/foobar"
settings.add_charsets << "application/foobar"
[app_file] Path to the main application file, used to detect project
root, views and public folder and inline templates.