Refs #29784 -- Switched to https:// links where available.

This commit is contained in:
Jon Dufresne 2018-09-25 23:48:47 -07:00 committed by Claude Paroz
parent d1d5c97bc2
commit 82f286cf6f
131 changed files with 267 additions and 267 deletions

View file

@ -7,7 +7,7 @@ How to use Django with Gunicorn
Gunicorn_ ('Green Unicorn') is a pure-Python WSGI server for UNIX. It has no
dependencies and is easy to install and use.
.. _Gunicorn: http://gunicorn.org/
.. _Gunicorn: https://gunicorn.org/
Installing Gunicorn
===================
@ -15,7 +15,7 @@ Installing Gunicorn
Installing gunicorn is as easy as ``pip install gunicorn``. For more
details, see the `gunicorn documentation`_.
.. _gunicorn documentation: http://docs.gunicorn.org/en/latest/install.html
.. _gunicorn documentation: https://docs.gunicorn.org/en/latest/install.html
Running Django in Gunicorn as a generic WSGI application
========================================================
@ -34,4 +34,4 @@ that is to run this command from the same directory as your ``manage.py`` file.
See Gunicorn's `deployment documentation`_ for additional tips.
.. _deployment documentation: http://docs.gunicorn.org/en/latest/deploy.html
.. _deployment documentation: https://docs.gunicorn.org/en/latest/deploy.html

View file

@ -335,5 +335,5 @@ JavaScript style
For details about the JavaScript code style used by Django, see
:doc:`javascript`.
.. _editorconfig: http://editorconfig.org/
.. _editorconfig: https://editorconfig.org/
.. _flake8: https://pypi.org/project/flake8/

View file

@ -145,7 +145,7 @@ Then run the tests with:
$ npm test
.. _Closure Compiler: https://developers.google.com/closure/compiler/
.. _EditorConfig: http://editorconfig.org/
.. _EditorConfig: https://editorconfig.org/
.. _Java: https://www.java.com
.. _jshint: http://jshint.com/
.. _node.js: https://nodejs.org/

View file

@ -158,7 +158,7 @@ Widget classes
``OpenLayers.js`` file `tailored to your needs`_ in the ``js`` property of
the inner ``Media`` class (see :ref:`assets-as-a-static-definition`).
.. _tailored to your needs: http://openlayers.org/en/latest/doc/tutorials/custom-builds.html
.. _tailored to your needs: https://openlayers.org/en/latest/doc/tutorials/custom-builds.html
``OSMWidget``

View file

@ -21,8 +21,8 @@ to raster (image) data.
Although the module is named ``gdal``, GeoDjango only supports some of the
capabilities of OGR and GDAL's raster features at this time.
__ http://www.gdal.org/
__ http://www.gdal.org/ogr_arch.html
__ https://www.gdal.org/
__ https://www.gdal.org/ogr_arch.html
Overview
========
@ -92,7 +92,7 @@ each feature in that layer.
Returns the name of the data source.
__ http://www.gdal.org/ogr_formats.html
__ https://www.gdal.org/ogr_formats.html
``Layer``
---------
@ -446,7 +446,7 @@ coordinate transformation::
:class:`Feature.geom` attribute, when reading vector data from
:class:`Layer` (which is in turn a part of a :class:`DataSource`).
__ http://www.gdal.org/classOGRGeometry.html
__ https://www.gdal.org/classOGRGeometry.html
.. classmethod:: from_gml(gml_string)
@ -1176,7 +1176,7 @@ blue.
needed. For instance, use ``GTiff`` for a ``GeoTiff`` file. For a list of file types,
see also the `GDAL Raster Formats`__ list.
__ http://www.gdal.org/formats_list.html
__ https://www.gdal.org/formats_list.html
An in-memory raster is created through the following example:
@ -1403,7 +1403,7 @@ blue.
Returns a string with a summary of the raster. This is equivalent to
the `gdalinfo`__ command line utility.
__ http://www.gdal.org/gdalinfo.html
__ https://www.gdal.org/gdalinfo.html
.. attribute:: metadata
@ -1732,7 +1732,7 @@ Key Default Usage
... }
... })
__ http://www.gdal.org/frmt_gtiff.html
__ https://www.gdal.org/frmt_gtiff.html
The ``band_input`` dictionary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -19,7 +19,7 @@ maintained by `Refractions Research`__ of Victoria, Canada.
__ https://trac.osgeo.org/geos/
__ https://sourceforge.net/projects/jts-topo-suite/
__ http://www.opengeospatial.org/standards/sfs
__ https://www.opengeospatial.org/standards/sfs
__ http://www.refractions.net/
Features

View file

@ -244,4 +244,4 @@ the GDAL library. For example::
It is easier to install the shifting files now, then to have debug a
problem caused by their absence later.
.. [#] Specifically, GeoDjango provides support for the `OGR
<http://gdal.org/ogr_arch.html>`_ library, a component of GDAL.
<https://gdal.org/ogr_arch.html>`_ library, a component of GDAL.

View file

@ -80,7 +80,7 @@ Get the latest SpatiaLite library source bundle from the
$ ./configure --target=macosx
__ http://www.gaia-gis.it/gaia-sins/libspatialite-sources/
__ https://www.gaia-gis.it/gaia-sins/libspatialite-sources/
.. _spatialite_macos:

View file

@ -263,7 +263,7 @@ determining `when to use geography data type over geometry data type
<https://postgis.net/docs/using_postgis_dbmanagement.html#PostGIS_GeographyVSGeometry>`_.
.. rubric:: Footnotes
.. [#fnogc] OpenGIS Consortium, Inc., `Simple Feature Specification For SQL <http://www.opengeospatial.org/standards/sfs>`_.
.. [#fnogc] OpenGIS Consortium, Inc., `Simple Feature Specification For SQL <https://www.opengeospatial.org/standards/sfs>`_.
.. [#fnogcsrid] *See id.* at Ch. 2.3.8, p. 39 (Geometry Values and Spatial Reference Systems).
.. [#fnsrid] Typically, SRID integer corresponds to an EPSG (`European Petroleum Survey Group <http://www.epsg.org>`_) identifier. However, it may also be associated with custom projections defined in spatial database's spatial reference systems table.
.. [#fnthematic] Terry A. Slocum, Robert B. McMaster, Fritz C. Kessler, & Hugh H. Howard, *Thematic Cartography and Geographic Visualization* (Prentice Hall, 2nd edition), at Ch. 7.1.3.

View file

@ -19,4 +19,4 @@ Reference
--------------
.. rubric:: Footnotes
.. [#] http://www.opengeospatial.org/standards/kml
.. [#] https://www.opengeospatial.org/standards/kml

View file

@ -36,8 +36,8 @@ basic apps`_ project. [#]_
Proceed through the tutorial sections sequentially for step-by-step
instructions.
.. _OGC: http://www.opengeospatial.org/
.. _world borders: http://thematicmapping.org/downloads/world_borders.php
.. _OGC: https://www.opengeospatial.org/
.. _world borders: https://thematicmapping.org/downloads/world_borders.php
.. _GeoDjango basic apps: https://code.google.com/p/geodjango-basic-apps/
Setting Up
@ -115,7 +115,7 @@ unzip. On GNU/Linux platforms, use the following commands:
$ mkdir world/data
$ cd world/data
$ wget http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip
$ wget https://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip
$ unzip TM_WORLD_BORDERS-0.3.zip
$ cd ../..
@ -131,7 +131,7 @@ extensions:
* ``.prj``: Contains the spatial reference information for the geographic
data stored in the shapefile.
__ http://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip
__ https://thematicmapping.org/downloads/TM_WORLD_BORDERS-0.3.zip
__ https://en.wikipedia.org/wiki/Shapefile
Use ``ogrinfo`` to examine spatial data
@ -302,7 +302,7 @@ besides the tools included within GeoDjango, you may also use the following:
* `shp2pgsql`_: This utility included with PostGIS imports ESRI shapefiles into
PostGIS.
.. _ogr2ogr: http://www.gdal.org/ogr2ogr.html
.. _ogr2ogr: https://www.gdal.org/ogr2ogr.html
.. _shp2pgsql: https://postgis.net/docs/using_postgis_dbmanagement.html#shp2pgsql_usage
.. _gdalinterface:
@ -745,7 +745,7 @@ position.
.. _OpenLayers: https://openlayers.org/
.. _Open Street Map: https://www.openstreetmap.org/
.. _Vector Map Level 0: http://earth-info.nga.mil/publications/vmap0.html
.. _OSGeo: http://www.osgeo.org
.. _OSGeo: https://www.osgeo.org/
.. _osmgeoadmin-intro:
@ -769,11 +769,11 @@ option class in your ``admin.py`` file::
.. rubric:: Footnotes
.. [#] Special thanks to Bjørn Sandvik of `thematicmapping.org
<http://thematicmapping.org>`_ for providing and maintaining this
<https://thematicmapping.org/>`_ for providing and maintaining this
dataset.
.. [#] GeoDjango basic apps was written by Dane Springmeyer, Josh Livni, and
Christopher Schmidt.
.. [#] This point is the `University of Houston Law Center
<https://www.law.uh.edu/>`_.
.. [#] Open Geospatial Consortium, Inc., `OpenGIS Simple Feature Specification
For SQL <http://www.opengeospatial.org/standards/sfs>`_.
For SQL <https://www.opengeospatial.org/standards/sfs>`_.

View file

@ -3085,7 +3085,7 @@ session if the session cookie is sent unencrypted, there's really no good
excuse to leave this off. It will prevent you from using sessions on insecure
requests and that's a good thing.
.. _Firesheep: http://codebutler.com/firesheep
.. _Firesheep: https://codebutler.com/firesheep/
.. setting:: SESSION_ENGINE

View file

@ -26,7 +26,7 @@ DNS rebinding vulnerability when ``DEBUG=True``
Older versions of Django don't validate the ``Host`` header against
``settings.ALLOWED_HOSTS`` when ``settings.DEBUG=True``. This makes them
vulnerable to a `DNS rebinding attack
<http://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/>`_.
<https://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/>`_.
While Django doesn't ship a module that allows remote code execution, this is
at least a cross-site scripting vector, which could be quite serious if

View file

@ -656,7 +656,7 @@ The apps registry is no longer auto-populated when unpickling models. This was
added in Django 1.7.2 as an attempt to allow unpickling models outside of
Django, such as in an RQ worker, without calling ``django.setup()``, but it
creates the possibility of a deadlock. To adapt your code in the case of RQ,
you can `provide your own worker script <http://python-rq.org/docs/workers/>`_
you can `provide your own worker script <https://python-rq.org/docs/workers/>`_
that calls ``django.setup()``.
Removed null assignment check for non-null foreign key fields

View file

@ -180,7 +180,7 @@ Minor features
* The OpenLayers-based form widgets now use ``OpenLayers.js`` from
``https://cdnjs.cloudflare.com`` which is more suitable for production use
than the old ``http://openlayers.org`` source. They are also updated to use
than the old ``https://openlayers.org/`` source. They are also updated to use
OpenLayers 3.
* PostGIS migrations can now change field dimensions.

View file

@ -53,7 +53,7 @@ not cause any issues with the typical round-trip from ``dumpdata`` to
``loaddata``, but if you feed your own XML documents to the ``loaddata``
management command, you will need to ensure they do not contain a DTD.
.. _from the Python security team: http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
.. _from the Python security team: https://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
Formset memory exhaustion

View file

@ -54,7 +54,7 @@ not cause any issues with the typical round-trip from ``dumpdata`` to
``loaddata``, but if you feed your own XML documents to the ``loaddata``
management command, you will need to ensure they do not contain a DTD.
.. _from the Python security team: http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
.. _from the Python security team: https://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
Formset memory exhaustion

View file

@ -273,7 +273,7 @@ details, see :ref:`auth_password_storage`.
.. _sha1: https://en.wikipedia.org/wiki/SHA1
.. _pbkdf2: https://en.wikipedia.org/wiki/PBKDF2
.. _nist: http://csrc.nist.gov/publications/nistpubs/800-132/nist-sp800-132.pdf
.. _nist: https://csrc.nist.gov/publications/detail/sp/800-132/final
.. _bcrypt: https://en.wikipedia.org/wiki/Bcrypt
HTML5 doctype
@ -730,7 +730,7 @@ Obviously, this new policy **has no impact** on sites you develop using Django.
It only applies to the Django admin. Feel free to develop apps compatible with
any range of browsers.
.. _YUI's A-grade: http://yuilibrary.com/yui/docs/tutorials/gbs/
.. _YUI's A-grade: https://github.com/yui/yui3/wiki/Graded-Browser-Support
Removed admin icons
-------------------

View file

@ -26,7 +26,7 @@ DNS rebinding vulnerability when ``DEBUG=True``
Older versions of Django don't validate the ``Host`` header against
``settings.ALLOWED_HOSTS`` when ``settings.DEBUG=True``. This makes them
vulnerable to a `DNS rebinding attack
<http://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/>`_.
<https://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/>`_.
While Django doesn't ship a module that allows remote code execution, this is
at least a cross-site scripting vector, which could be quite serious if

View file

@ -26,7 +26,7 @@ DNS rebinding vulnerability when ``DEBUG=True``
Older versions of Django don't validate the ``Host`` header against
``settings.ALLOWED_HOSTS`` when ``settings.DEBUG=True``. This makes them
vulnerable to a `DNS rebinding attack
<http://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/>`_.
<https://benmmurphy.github.io/blog/2016/07/11/rails-webconsole-dns-rebinding/>`_.
While Django doesn't ship a module that allows remote code execution, this is
at least a cross-site scripting vector, which could be quite serious if