symfony/symfony-docs — Issue #798: [cookbook][routing][scheme] HTTP or HTTPS confusion?
Author: ganchiku
Created: 2011-10-23 15:10:56+00:00
State: open

Hi, I was trying translating this chapter and got confused the way to use HTTP and HTTPS. In this context, I think enforcing is HTTPS and not HTTP like bellows. Or am I misunderstanding this? I did not know if my interpretation is right, so I did not pull request this, though.

@@ -6,7 +6,7 @@ How to force routes to always use HTTPS

Sometimes, you want to secure some routes and be sure that they are always
accessed via the HTTPS protocol. The Routing component allows you to enforce
\- the HTTP scheme via the ``_scheme`` requirement:
\+ the HTTPS scheme via the ``_scheme`` requirement:

.. configuration-block::

@@ -70,7 +70,7 @@ URL to always use ``http``.

.. note::

\- The Security component provides another way to enforce the HTTP scheme via
\+ The Security component provides another way to enforce the HTTPS scheme via
the ``requires_channel`` setting. This alternative method is better suited
to secure an "area" of your website (all URLs under ``/admin``) or when
you want to secure URLs defined in a third party bundle.