Skip to content

Commit 2f01f88

Browse files
committed
Fix HTTPS and Ajax notation
1 parent 9ffa107 commit 2f01f88

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

book/http_fundamentals.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ have all the request information at your fingertips::
246246
As a bonus, the ``Request`` class does a lot of work in the background that
247247
you'll never need to worry about. For example, the ``isSecure()`` method
248248
checks the *three* different values in PHP that can indicate whether or not
249-
the user is connecting via a secured connection (i.e. ``https``).
249+
the user is connecting via a secured connection (i.e. HTTPS).
250250

251251
.. sidebar:: ParameterBags and Request attributes
252252

book/routing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ In an upcoming section, you'll learn how to generate URLs from inside templates.
11751175

11761176
.. tip::
11771177

1178-
If the frontend of your application uses AJAX requests, you might want
1178+
If the frontend of your application uses Ajax requests, you might want
11791179
to be able to generate URLs in JavaScript based on your routing configuration.
11801180
By using the `FOSJsRoutingBundle`_, you can do exactly that:
11811181

cookbook/form/dynamic_form_modification.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ only because in two different scenarios, the data that you can use is available
527527
Other than that, the listeners always perform exactly the same things on a given form.
528528

529529
One piece that may still be missing is the client-side updating of your form
530-
after the sport is selected. This should be handled by making an AJAX call
530+
after the sport is selected. This should be handled by making an Ajax call
531531
back to your application. In that controller, you can bind your form, but
532532
instead of processing it, simply use the bound form to render the updated
533-
fields. The response from the AJAX call can then be used to update the view.
533+
fields. The response from the Ajax call can then be used to update the view.

cookbook/routing/scheme.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ to always use ``http``.
6666

6767
.. note::
6868

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

cookbook/security/force_https.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
How to force HTTPS or HTTP for Different URLs
55
=============================================
66

7-
You can force areas of your site to use the ``HTTPS`` protocol in the security
7+
You can force areas of your site to use the HTTPS protocol in the security
88
config. This is done through the ``access_control`` rules using the ``requires_channel``
99
option. For example, if you want to force all URLs starting with ``/secure``
10-
to use ``HTTPS`` then you could use the following configuration:
10+
to use HTTPS then you could use the following configuration:
1111

1212
.. configuration-block::
1313

@@ -35,7 +35,7 @@ to use ``HTTPS`` then you could use the following configuration:
3535
),
3636
3737
The login form itself needs to allow anonymous access, otherwise users will
38-
be unable to authenticate. To force it to use ``HTTPS`` you can still use
38+
be unable to authenticate. To force it to use HTTPS you can still use
3939
``access_control`` rules by using the ``IS_AUTHENTICATED_ANONYMOUSLY``
4040
role:
4141

@@ -66,5 +66,5 @@ role:
6666
),
6767
),
6868
69-
It is also possible to specify using ``HTTPS`` in the routing configuration
69+
It is also possible to specify using HTTPS in the routing configuration,
7070
see :doc:`/cookbook/routing/scheme` for more details.

cookbook/security/form_login.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ in several ways.
3434
.. note::
3535

3636
As mentioned, by default the user is redirected back to the page he originally
37-
requested. Sometimes, this can cause problems, like if a background AJAX
37+
requested. Sometimes, this can cause problems, like if a background Ajax
3838
request "appears" to be the last visited URL, causing the user to be
3939
redirected there. For information on controlling this behavior, see
4040
:doc:`/cookbook/security/target_path`.

0 commit comments

Comments
 (0)