mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 23:34:38 +01:00
Merge branch 'dev' into @feature/issue-5029
This commit is contained in:
@@ -431,7 +431,7 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
||||
normalisedHeaders[k.toLowerCase()] = response.headers[k]
|
||||
})
|
||||
if (normalisedHeaders['www-authenticate']) {
|
||||
let authHeader = buildDigestHeader(digestCreds.user,digestCreds.password, response.request.options.method, requestUrl.pathname, normalisedHeaders['www-authenticate'])
|
||||
let authHeader = buildDigestHeader(digestCreds.user,digestCreds.password, response.request.options.method, requestUrl.pathname + requestUrl.search, normalisedHeaders['www-authenticate'])
|
||||
options.headers.Authorization = authHeader;
|
||||
}
|
||||
// response.request.options.merge(options)
|
||||
@@ -599,7 +599,18 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
||||
}
|
||||
} else {
|
||||
if (msg.hasOwnProperty('rejectUnauthorized')) {
|
||||
opts.https = { rejectUnauthorized: msg.rejectUnauthorized };
|
||||
if (typeof msg.rejectUnauthorized === 'boolean') {
|
||||
opts.https = { rejectUnauthorized: msg.rejectUnauthorized }
|
||||
} else if (typeof msg.rejectUnauthorized === 'string') {
|
||||
if (msg.rejectUnauthorized.toLowerCase() === 'true' || msg.rejectUnauthorized.toLowerCase() === 'false') {
|
||||
opts.https = { rejectUnauthorized: (msg.rejectUnauthorized.toLowerCase() === 'true') }
|
||||
} else {
|
||||
node.warn(RED._("httpin.errors.rejectunauthorized-invalid"))
|
||||
}
|
||||
} else {
|
||||
node.warn(RED._("httpin.errors.rejectunauthorized-invalid"))
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -564,7 +564,8 @@
|
||||
"timeout-isnan": "Timeout value is not a valid number, ignoring",
|
||||
"timeout-isnegative": "Timeout value is negative, ignoring",
|
||||
"invalid-payload": "Invalid payload",
|
||||
"invalid-url": "Invalid url"
|
||||
"invalid-url": "Invalid url",
|
||||
"rejectunauthorized-invalid": "msg.rejectUnauthorized should be a boolean"
|
||||
},
|
||||
"status": {
|
||||
"requesting": "requesting"
|
||||
|
||||
@@ -406,6 +406,7 @@
|
||||
"label": {
|
||||
"unknown": "inconnu"
|
||||
},
|
||||
"manageModules": "Gérer les modules",
|
||||
"tip": "<p>Ce noeud est un type inconnu de votre installation Node-RED.</p><p><i>Si vous déployez avec le noeud dans cet état, sa configuration sera préservée, mais le flux ne démarrera pas avant que le type manquant soit installé.</i></p><p>Consulter la barre latérale d'informations pour plus d'aide</p>"
|
||||
},
|
||||
"mqtt": {
|
||||
@@ -1017,7 +1018,7 @@
|
||||
"objectSend": "Envoie un message pour chaque paire clé/valeur",
|
||||
"strBuff": "<b>Chaîne</b> / <b>Tampon</b>",
|
||||
"array": "<b>Tableau</b>",
|
||||
"splitThe": "Diviser le",
|
||||
"splitThe": "Diviser la propriété",
|
||||
"splitUsing": "Diviser en utilisant",
|
||||
"splitLength": "Longueur fixe de",
|
||||
"stream": "Gérer comme un flux de messages",
|
||||
|
||||
@@ -406,6 +406,7 @@
|
||||
"label": {
|
||||
"unknown": "unknown"
|
||||
},
|
||||
"manageModules": "モジュールを管理",
|
||||
"tip": "<p>現在のNode-RED環境では、本ノードの型が不明です。</p><p><i>現在の状態で本ノードをデプロイすると設定は保存されますが、不明なノードがインストールされるまでフローは実行されません。</i></p><p>詳細はノードの「情報」を参照してください。</p>"
|
||||
},
|
||||
"mqtt": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@node-red/nodes",
|
||||
"version": "4.1.0-beta.0",
|
||||
"version": "4.1.0-beta.1",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -15,7 +15,7 @@
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"acorn": "8.14.1",
|
||||
"acorn": "8.15.0",
|
||||
"acorn-walk": "8.3.4",
|
||||
"ajv": "8.17.1",
|
||||
"body-parser": "1.20.3",
|
||||
|
||||
Reference in New Issue
Block a user