From b88b6b4f48bd444407d12e9fe306e7bd4d58e9e4 Mon Sep 17 00:00:00 2001 From: Septian Date: Wed, 5 Jul 2023 09:44:07 +0700 Subject: [PATCH] fix typo on TLSOptions.xml and library_godot_display.js --- doc/classes/TLSOptions.xml | 8 ++++---- platform/web/js/libs/library_godot_display.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/classes/TLSOptions.xml b/doc/classes/TLSOptions.xml index a95e9a61236..d4f9ebafb3b 100644 --- a/doc/classes/TLSOptions.xml +++ b/doc/classes/TLSOptions.xml @@ -29,15 +29,15 @@ Creates a TLS client configuration which validates certificates and their common names (fully qualified domain names). You can specify a custom [param trusted_chain] of certification authorities (the default CA list will be used if [code]null[/code]), and optionally provide a [param common_name_override] if you expect the certificate to have a common name other then the server FQDN. - Note: On the Web plafrom, TLS verification is always enforced against the CA list of the web browser. This is considered a security feature. + [b]Note:[/b] On the Web platform, TLS verification is always enforced against the CA list of the web browser. This is considered a security feature. - Creates an [b]unsafe[/b] TLS client configuration where certificate validation is optional. You can optionally provide a valid [param trusted_chain], but the common name of the certififcates will never be checked. Using this configuration for purposes other than testing [b]is not recommended[/b]. - Note: On the Web plafrom, TLS verification is always enforced against the CA list of the web browser. This is considered a security feature. + Creates an [b]unsafe[/b] TLS client configuration where certificate validation is optional. You can optionally provide a valid [param trusted_chain], but the common name of the certificates will never be checked. Using this configuration for purposes other than testing [b]is not recommended[/b]. + [b]Note:[/b] On the Web platform, TLS verification is always enforced against the CA list of the web browser. This is considered a security feature. @@ -46,7 +46,7 @@ Creates a TLS server configuration using the provided [param key] and [param certificate]. - Note: The [param certificate] should include the full certificate chain up to the signing CA (certificates file can be concatenated using a general purpose text editor). + [b]Note:[/b] The [param certificate] should include the full certificate chain up to the signing CA (certificates file can be concatenated using a general purpose text editor). diff --git a/platform/web/js/libs/library_godot_display.js b/platform/web/js/libs/library_godot_display.js index 23cbc67c165..ea2a846f90e 100644 --- a/platform/web/js/libs/library_godot_display.js +++ b/platform/web/js/libs/library_godot_display.js @@ -536,7 +536,7 @@ const GodotDisplay = { } navigator.clipboard.writeText(text).catch(function (e) { // Setting OS clipboard is only possible from an input callback. - GodotRuntime.error('Setting OS clipboard is only possible from an input callback for the Web plafrom. Exception:', e); + GodotRuntime.error('Setting OS clipboard is only possible from an input callback for the Web platform. Exception:', e); }); return 0; },