testing blockquote
This commit is contained in:
parent
8d718ef1aa
commit
64a659c731
20
README.md
20
README.md
|
@ -1346,21 +1346,19 @@ You can also hand in an array in order to disable a list of protections:
|
||||||
|
|
||||||
__**absolute_redirects**__
|
__**absolute_redirects**__
|
||||||
|
|
||||||
>If disabled, Sinatra will allow relative redirects,
|
> If disabled, Sinatra will allow relative redirects, however, Sinatra will no
|
||||||
>however, Sinatra will no longer conform with RFC 2616
|
longer conform with RFC 2616 (HTTP 1.1), which only allows absolute redirects.
|
||||||
>(HTTP 1.1), which only allows absolute redirects.
|
|
||||||
|
|
||||||
>Enable if your app is running behind a reverse proxy that
|
> Enable if your app is running behind a reverse proxy that has not been set up
|
||||||
>has not been set up properly. Note that the `url` helper
|
properly. Note that the `url` helper will still produce absolute URLs, unless you
|
||||||
>will still produce absolute URLs, unless you pass in
|
pass in `false` as the second parameter.
|
||||||
>`false` as the second parameter.
|
|
||||||
|
|
||||||
Disabled per default.
|
> Disabled per default.
|
||||||
|
|
||||||
[add_charsets] mime types the `content_type` helper will
|
__**add_charsets**__
|
||||||
automatically add the charset info to.
|
> 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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue