Skip to content

Commit f35e9b0

Browse files
authored
PHPLIB-827: Use https links in documentation and comments (#907)
Remove redundant www subdomains from URLs. The Apache license links are intentionally left as-is Also updates outdated ICU link, which had no https equivalent.
1 parent 963e9c1 commit f35e9b0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

source/includes/apiargs-MongoDBClient-method-construct-param.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: |
99
Defaults to ``"mongodb://127.0.0.1:27017"`` if unspecified.
1010
1111
Any special characters in the URI components need to be encoded according to
12-
`RFC 3986 <http://www.faqs.org/rfcs/rfc3986.html>`_. This is particularly
12+
`RFC 3986 <https://www.rfc-editor.org/info/rfc3986>`_. This is particularly
1313
relevant to the username and password, which can often include special
1414
characters such as ``@``, ``:``, or ``%``. When connecting via a Unix domain
1515
socket, the socket path may contain special characters such as slashes and
@@ -26,7 +26,7 @@ description: |
2626
Specifies additional URI options, such as authentication credentials or query
2727
string parameters. The options specified in ``$uriOptions`` take precedence
2828
over any analogous options present in the ``$uri`` string and do not need to
29-
be encoded according to `RFC 3986 <http://www.faqs.org/rfcs/rfc3986.html>`_.
29+
be encoded according to `RFC 3986 <https://www.rfc-editor.org/info/rfc3986>`_.
3030
3131
Refer to the :php:`MongoDB\\Driver\\Manager::__construct()
3232
<mongodb-driver-manager.construct>` extension reference and :manual:`MongoDB

source/reference/bson.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Overview
1515

1616
MongoDB stores data records as BSON documents. BSON is a binary representation
1717
of :term:`JSON` documents, though it contains more data types than JSON. For the
18-
BSON spec, see `bsonspec.org <http://bsonspec.org/>`_.
18+
BSON spec, see `bsonspec.org <https://bsonspec.org/>`_.
1919

2020
By default, the |php-library| returns BSON documents as
2121
:phpclass:`MongoDB\\Model\\BSONDocument` objects and BSON arrays as

source/tutorial/collation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Collation Parameters
6666
]
6767

6868
The only required parameter is ``locale``, which the server parses as an `ICU
69-
format locale ID <http://userguide.icu-project.org/locale>`_. For example, set
69+
format locale ID <https://unicode-org.github.io/icu/userguide/locale/>`_. For example, set
7070
``locale`` to ``en_US`` to represent US English or ``fr_CA`` to represent
7171
Canadian French.
7272

source/upgrade.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ BSON Type Classes
2828

2929
When upgrading from the legacy driver, type classes such as MongoId must be
3030
replaced with classes in the
31-
`MongoDB\\BSON namespace <https://www.php.net/manual/en/book.bson.php>`_. The
31+
`MongoDB\\BSON namespace <https://php.net/manual/en/book.bson.php>`_. The
3232
new driver also introduces interfaces for its BSON types, which should be
3333
preferred if applications need to type hint against BSON values.
3434

0 commit comments

Comments
 (0)