Skip to content

Use HTTPS to link to symfony.com when possible #7481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions _build/_theme/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% extends '!layout.html' %}

{% set css_files = ['http://symfony.com/css/compiled/v5/all.css?v=4'] %}
{% set css_files = ['https://symfony.com/css/compiled/v5/all.css?v=4'] %}
{# make sure the Sphinx stylesheet isn't loaded #}
{% set style = '' %}
{% set isIndex = pagename is index %}

{% block extrahead %}
{# add JS to support tabs #}
<script src="http://symfony.com/js/v5/all.js?v=4"></script>
<script src="https://symfony.com/js/v5/all.js?v=4"></script>

{# pygment's styles are still loaded, undo some unwanted styles #}
<style>
Expand Down Expand Up @@ -48,7 +48,7 @@ <h4>Pull request build</h4>
<p>Each pull request of the Symfony Documentation is automatically deployed and hosted on <a href="https://platform.sh">Platform.sh</a>.<br>
View this page on <a href="https://symfony.com/doc/current/{{ pagename }}">symfony.com</a>.</p>
</div>

{%- include "globaltoc.html" %}

{% if not isIndex %}
Expand Down Expand Up @@ -81,7 +81,7 @@ <h1 class="content_title">{{ title }}</h1>
<a href="{{ next.link|e }}">{{ next.title|striptags|e }} »</a>
</div>
{% endif %}

<div id="license">
<p>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">License</a>.</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions best_practices/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,6 @@ If your company uses a user login method not supported by Symfony, you can
develop :doc:`your own user provider </security/custom_provider>` and
:doc:`your own authentication provider </security/custom_authentication_provider>`.

.. _`ParamConverter`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
.. _`@Security annotation`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
.. _`ParamConverter`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
.. _`@Security annotation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/security.html
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle
6 changes: 3 additions & 3 deletions components/options_resolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ the ``Mailer`` class makes a mistake?
.. code-block:: php

$mailer = new Mailer(array(
'usernme' => 'johndoe', // usernAme misspelled
'usernme' => 'johndoe', // usernAme misspelled
));

No error will be shown. In the best case, the bug will appear during testing,
Expand Down Expand Up @@ -403,7 +403,7 @@ is thrown::
For options with more complicated validation schemes, pass a closure which
returns ``true`` for acceptable values and ``false`` for invalid values::


// ...
$resolver->setAllowedValues('transport', function ($value) {
// return true or false
Expand Down Expand Up @@ -732,4 +732,4 @@ options in your code.

.. _Packagist: https://packagist.org/packages/symfony/options-resolver
.. _CHANGELOG: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/OptionsResolver/CHANGELOG.md#260
.. _`read the Symfony 2.5 documentation`: http://symfony.com/doc/2.5/components/options_resolver.html
.. _`read the Symfony 2.5 documentation`: https://symfony.com/doc/2.5/components/options_resolver.html
2 changes: 1 addition & 1 deletion contributing/code/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Security Advisories
This section indexes security vulnerabilities that were fixed in Symfony
releases, starting from Symfony 1.0.0:

* May 9, 2016: `CVE-2016-2403: Unauthorized access on a misconfigured Ldap server when using an empty password <http://symfony.com/blog/cve-2016-2403-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password>`_ (2.8.0-2.8.5, 3.0.0-3.0.5)
* May 9, 2016: `CVE-2016-2403: Unauthorized access on a misconfigured Ldap server when using an empty password <https://symfony.com/blog/cve-2016-2403-unauthorized-access-on-a-misconfigured-ldap-server-when-using-an-empty-password>`_ (2.8.0-2.8.5, 3.0.0-3.0.5)
* May 9, 2016: `CVE-2016-4423: Large username storage in session <https://symfony.com/blog/cve-2016-4423-large-username-storage-in-session>`_ (2.3.0-2.3.40, 2.7.0-2.7.12, 2.8.0-2.8.5, 3.0.0-3.0.5)
* January 18, 2016: `CVE-2016-1902: SecureRandom's fallback not secure when OpenSSL fails <https://symfony.com/blog/cve-2016-1902-securerandom-s-fallback-not-secure-when-openssl-fails>`_ (2.3.0-2.3.36, 2.6.0-2.6.12, 2.7.0-2.7.8)
* November 23, 2015: `CVE-2015-8125: Potential Remote Timing Attack Vulnerability in Security Remember-Me Service <https://symfony.com/blog/cve-2015-8125-potential-remote-timing-attack-vulnerability-in-security-remember-me-service>`_ (2.3.35, 2.6.12 and 2.7.7)
Expand Down
2 changes: 1 addition & 1 deletion contributing/community/reviews.rst
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Pick a pull request from the `PRs in need of review`_ and follow these steps:
.. _bug reports in need of review: https://github.com/symfony/symfony/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3A%22Bug%22+label%3A%22Status%3A+Needs+Review%22+
.. _PRs in need of review: https://github.com/symfony/symfony/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Apr+label%3A%22Status%3A+Needs+Review%22+
.. _Contribution Guidelines: https://github.com/symfony/symfony/blob/master/CONTRIBUTING.md
.. _Symfony's Release Schedule: http://symfony.com/doc/current/contributing/community/releases.html#schedule
.. _Symfony's Release Schedule: https://symfony.com/doc/current/contributing/community/releases.html#schedule
.. _Symfony Roadmap: https://symfony.com/roadmap
.. _Carson Bot: https://github.com/carsonbot/carsonbot
.. _`Needs Review`: https://github.com/symfony/symfony/labels/Status%3A%20Needs%20Review
2 changes: 1 addition & 1 deletion contributing/documentation/translations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Translations
The Symfony documentation is not officially translated, though some community
groups still maintain some translations. For more information, see `this blog post`_.

.. _`this blog post`: http://symfony.com/blog/discontinuing-the-symfony-community-translations
.. _`this blog post`: https://symfony.com/blog/discontinuing-the-symfony-community-translations
6 changes: 3 additions & 3 deletions create_framework/http_foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ applications using it (like `Symfony`_, `Drupal 8`_, `phpBB 4`_, `ezPublish

.. _`Twig`: http://twig.sensiolabs.org/
.. _`HTTP specification`: http://tools.ietf.org/wg/httpbis/
.. _`audited`: http://symfony.com/blog/symfony2-security-audit
.. _`Symfony`: http://symfony.com/
.. _`audited`: https://symfony.com/blog/symfony2-security-audit
.. _`Symfony`: https://symfony.com/
.. _`Drupal 8`: https://drupal.org/
.. _`phpBB 4`: https://www.phpbb.com/
.. _`ezPublish 5`: http://ez.no/
Expand All @@ -310,4 +310,4 @@ applications using it (like `Symfony`_, `Drupal 8`_, `phpBB 4`_, `ezPublish
.. _`Zikula`: http://zikula.org/
.. _`autoloaded`: http://php.net/autoload
.. _`PSR-4`: http://www.php-fig.org/psr/psr-4/
.. _`more`: http://symfony.com/components/HttpFoundation
.. _`more`: https://symfony.com/components/HttpFoundation
2 changes: 1 addition & 1 deletion create_framework/http_kernel_controller_resolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,4 @@ Think about it once more: our framework is more robust and more flexible than
ever and it still has less than 40 lines of code.

.. _`reflection`: http://php.net/reflection
.. _`FrameworkExtraBundle`: http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
.. _`FrameworkExtraBundle`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
2 changes: 1 addition & 1 deletion create_framework/http_kernel_httpkernelinterface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,6 @@ With the addition of a single interface, our framework can now benefit from
the many features built into the HttpKernel component; HTTP caching being just
one of them but an important one as it can make your applications fly!

.. _`HTTP caching`: http://symfony.com/doc/current/http_cache.html
.. _`HTTP caching`: https://symfony.com/doc/current/http_cache.html
.. _`ESI`: https://en.wikipedia.org/wiki/Edge_Side_Includes
.. _`Varnish`: https://www.varnish-cache.org/
2 changes: 1 addition & 1 deletion create_framework/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ Otherwise, you can always use your own server (Apache, Nginx, etc.).
In the :doc:`next chapter </create_framework/http_foundation>`, we are going to
introduce the HttpFoundation Component and see what it brings us.

.. _`Symfony`: http://symfony.com/
.. _`Symfony`: https://symfony.com/
.. _`Silex`: http://silex.sensiolabs.org/
.. _`Composer`: http://packagist.org/about-composer
2 changes: 1 addition & 1 deletion doctrine/common_extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To do this, you have two options:
with Symfony: `Install Gedmo Doctrine2 extensions in Symfony2`_

.. _`DoctrineExtensions`: https://github.com/Atlantic18/DoctrineExtensions
.. _`StofDoctrineExtensionsBundle`: http://symfony.com/doc/master/bundles/StofDoctrineExtensionsBundle/index.html
.. _`StofDoctrineExtensionsBundle`: https://symfony.com/doc/master/bundles/StofDoctrineExtensionsBundle/index.html
.. _`Sluggable`: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/sluggable.md
.. _`Translatable`: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/translatable.md
.. _`Timestampable`: https://github.com/Atlantic18/DoctrineExtensions/blob/master/doc/timestampable.md
Expand Down
2 changes: 1 addition & 1 deletion routing/routing_from_database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ loader, e.g. for another database type or a REST API or anything else.
The DynamicRouter is explained in the `Symfony CMF documentation`_.

.. _FrameworkExtraBundle: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/converters.html
.. _`Symfony CMF documentation`: http://symfony.com/doc/master/cmf/book/routing.html
.. _`Symfony CMF documentation`: https://symfony.com/doc/master/cmf/book/routing.html