1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Sébastien Helleu bc1f9784f8 Version 4.7.1 2025-08-16 21:49:19 +02:00
Sébastien Helleu a797e2bf70 relay/api: fix crash when an invalid HTTP request is received from a client
When invalid data is received (not an HTTP request), client->http_req->method
is NULL, so we have to check it's not NULL before comparing it to the supported
methods.

This fixes a regression introduced in commit
93ec10b563.
2025-08-16 21:21:14 +02:00
Sébastien Helleu 594e607764 Version 4.7.1-dev 2025-08-16 21:18:28 +02:00
17 changed files with 167 additions and 77 deletions
+6
View File
@@ -6,6 +6,12 @@ SPDX-License-Identifier: GPL-3.0-or-later
# WeeChat ChangeLog # WeeChat ChangeLog
## Version 4.7.1 (2025-08-16)
### Fixed
- relay/api: fix crash when an invalid HTTP request is received from a client
## Version 4.7.0 (2025-07-19) ## Version 4.7.0 (2025-07-19)
### Changed ### Changed
+5 -1
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:24+0200\n" "PO-Revision-Date: 2025-05-04 09:24+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14025,6 +14025,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: selhalo parsování příkazu \"%s\" (prosím oznamte to vývojárům):" msgstr "%s%s: selhalo parsování příkazu \"%s\" (prosím oznamte to vývojárům):"
#, fuzzy, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: TLS handshake selhal"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%s%s: unable to create socket" #| msgid "%s%s: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+6 -1
View File
@@ -28,7 +28,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-05 09:24+0200\n" "PO-Revision-Date: 2025-05-05 09:24+0200\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n" "Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -15419,6 +15419,11 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: Route „%s %s“ für Client %s%s%s konnte nicht ausgeführt werden" msgstr "%s%s: Route „%s %s“ für Client %s%s%s konnte nicht ausgeführt werden"
#, fuzzy, c-format
#| msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: ungültigen WebSocket Handshake für Client %s%s%s empfangen"
#, c-format #, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "" msgstr ""
+5 -1
View File
@@ -24,7 +24,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14359,6 +14359,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: falló la ejecución del comando \"%s\" por el cliente %s%s%s" msgstr "%s%s: falló la ejecución del comando \"%s\" por el cliente %s%s%s"
#, fuzzy, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: agotado el tiempo de espera del saludo TLS del cliente %s%s%s"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%s%s: unable to create socket" #| msgid "%s%s: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+6 -2
View File
@@ -23,8 +23,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-06-30 09:34+0200\n" "PO-Revision-Date: 2025-08-16 19:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n" "Language: fr\n"
@@ -15116,6 +15116,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s : échec d'exécution de la route \"%s %s\" pour le client %s%s%s" msgstr "%s%s : échec d'exécution de la route \"%s %s\" pour le client %s%s%s"
#, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s : données invalides reçues du client %s%s%s"
#, c-format #, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "%sremote[%s] : impossible d'envoyer des données, déconnexion" msgstr "%sremote[%s] : impossible d'envoyer des données, déconnexion"
+5 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13424,6 +13424,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n"
#, fuzzy, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s gnutls kézfogás sikertelen\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "%s nem sikerült a szervert létrehozni\n" msgstr "%s nem sikerült a szervert létrehozni\n"
+5 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14361,6 +14361,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: impossibile eseguire il comando \"%s\" per il client %s%s%s" msgstr "%s%s: impossibile eseguire il comando \"%s\" per il client %s%s%s"
#, fuzzy, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: set di caratter invalido: \"%s\""
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%s%s: unable to create socket" #| msgid "%s%s: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+7 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -14849,6 +14849,12 @@ msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "" msgstr ""
"%1$s%2$s: クライアント %4$s%5$s%6$s に対するコマンド \"%3$s\" の実行に失敗" "%1$s%2$s: クライアント %4$s%5$s%6$s に対するコマンド \"%3$s\" の実行に失敗"
#, fuzzy, c-format
#| msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgid "%s%s: invalid data received from client %s%s%s"
msgstr ""
"%s%s: クライアント %s%s%s から受け取った不正なウェブソケットハンドシェイク"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%s%s: unable to create socket" #| msgid "%s%s: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+7 -1
View File
@@ -24,7 +24,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -15045,6 +15045,12 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: nie udało się wykonać trasy „%s %s” dla klienta %s%s%s" msgstr "%s%s: nie udało się wykonać trasy „%s %s” dla klienta %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgid "%s%s: invalid data received from client %s%s%s"
msgstr ""
"%s%s: otrzymano niepoprawny pakiet dla gniazda webowego od klienta %s%s%s"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%sremote[%s]: unable to create socket" #| msgid "%sremote[%s]: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+6 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n" "Language-Team: Portuguese <>\n"
@@ -14734,6 +14734,11 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: falha ao executar o comando \"%s\" do cliente %s%s%s" msgstr "%s%s: falha ao executar o comando \"%s\" do cliente %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: websocket handshake inválido recebido do cliente %s%s%s"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%s%s: unable to create socket" #| msgid "%s%s: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+5 -1
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13857,6 +13857,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: falha ao executar comando \"%s\" para cliente %d" msgstr "%s%s: falha ao executar comando \"%s\" para cliente %d"
#, fuzzy, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: handshake TLS falhou"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "%s%s: não foi possível criar pipe" msgstr "%s%s: não foi possível criar pipe"
+5 -1
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-05-04 09:25+0200\n" "PO-Revision-Date: 2025-05-04 09:25+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -13476,6 +13476,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "Не могу записать лог-файл \"%s\"\n" msgstr "Не могу записать лог-файл \"%s\"\n"
#, fuzzy, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s инициализация gnutls не удалось\n"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "%s не могу создать сервер\n" msgstr "%s не могу создать сервер\n"
+6 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-07-09 15:48+0400\n" "PO-Revision-Date: 2025-07-09 15:48+0400\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -14669,6 +14669,11 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: није успело извршавање руте „%s %s” за клијента %s%s%s" msgstr "%s%s: није успело извршавање руте „%s %s” за клијента %s%s%s"
#, fuzzy, c-format
#| msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: примљено је неважеће вебсокет руковање од клијента %s%s%s"
#, c-format #, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "%sудаљени[%s]: није могао да пошаље податке, веза се прекида" msgstr "%sудаљени[%s]: није могао да пошаље податке, веза се прекида"
+58 -47
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2025-07-06 09:25+0200\n" "PO-Revision-Date: 2025-07-06 09:25+0200\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1466,10 +1466,11 @@ msgid ""
"term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] " "term|url|windows || callbacks <duration>[<unit>] || mouse|cursor [verbose] "
"|| hdata [free] || time <command> || unicode <string> || whitespace" "|| hdata [free] || time <command> || unicode <string> || whitespace"
msgstr "" msgstr ""
"list || set <eklenti> <düzey> || dump [<eklenti>] || hooks [<eklenti_maskesi> " "list || set <eklenti> <düzey> || dump [<eklenti>] || hooks "
"[<kanca_türü>...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|" "[<eklenti_maskesi> [<kanca_türü>...]] || buffer|certs|color|dirs|infolists|"
"term|url|windows || callbacks <süre>[<birim>] || mouse|cursor [verbose] " "key|libs|memory|tags|term|url|windows || callbacks <süre>[<birim>] || mouse|"
"|| hdata [free] || time <komut> || unicode <dizi> || whitespace" "cursor [verbose] || hdata [free] || time <komut> || unicode <dizi> || "
"whitespace"
msgid "raw[list]: list plugins with debug levels" msgid "raw[list]: list plugins with debug levels"
msgstr "raw[list]: Eklentileri hata ayıklama düzeyleriyle listele" msgstr "raw[list]: Eklentileri hata ayıklama düzeyleriyle listele"
@@ -1577,8 +1578,9 @@ msgid "raw[term]: display infos about terminal"
msgstr "raw[term]: Uçbirim hakkında bilgi görüntüle" msgstr "raw[term]: Uçbirim hakkında bilgi görüntüle"
msgid "raw[url]: toggle debug for calls to hook_url (display output hashtable)" msgid "raw[url]: toggle debug for calls to hook_url (display output hashtable)"
msgstr "raw[url]: hook_url'sine olan çağrılar için hata ayıklamayı aç/kapat " msgstr ""
"(çıktı sağlama tablosunu görüntüle)" "raw[url]: hook_url'sine olan çağrılar için hata ayıklamayı aç/kapat (çıktı "
"sağlama tablosunu görüntüle)"
msgid "raw[windows]: display windows tree" msgid "raw[windows]: display windows tree"
msgstr "raw[windows]: Pencere ağacını görüntüle" msgstr "raw[windows]: Pencere ağacını görüntüle"
@@ -1586,8 +1588,9 @@ msgstr "raw[windows]: Pencere ağacını görüntüle"
msgid "" msgid ""
"raw[time]: measure time to execute a command or to send text to the current " "raw[time]: measure time to execute a command or to send text to the current "
"buffer" "buffer"
msgstr "raw[time]: Geçerli arabelleğe metin göndermek veya üzerinde komut " msgstr ""
"yürütmek için gereken zamanı ölç" "raw[time]: Geçerli arabelleğe metin göndermek veya üzerinde komut yürütmek "
"için gereken zamanı ölç"
msgid "" msgid ""
"raw[unicode]: display information about string and unicode chars (evaluated, " "raw[unicode]: display information about string and unicode chars (evaluated, "
@@ -1621,15 +1624,15 @@ msgid ""
"raw[-s]: split expression before evaluating it (many commands can be " "raw[-s]: split expression before evaluating it (many commands can be "
"separated by semicolons)" "separated by semicolons)"
msgstr "" msgstr ""
"raw[-s]: İfadeyi değerlendirmeden önce böl (birden çok komut noktalı virgülle " "raw[-s]: İfadeyi değerlendirmeden önce böl (birden çok komut noktalı "
"ayrılabilir)" "virgülle ayrılabilir)"
msgid "" msgid ""
"raw[-d]: display debug output after evaluation (with two -d: more verbose " "raw[-d]: display debug output after evaluation (with two -d: more verbose "
"debug)" "debug)"
msgstr "" msgstr ""
"raw[-d]: Değerlendirme sonrası hata ayıklama çıktısını görüntüle (iki -d ile: " "raw[-d]: Değerlendirme sonrası hata ayıklama çıktısını görüntüle (iki -d "
"Daha ayrıntılı hata ayıklama bilgisi)" "ile: Daha ayrıntılı hata ayıklama bilgisi)"
msgid "" msgid ""
"raw[-c]: evaluate as condition: use operators and parentheses, return a " "raw[-c]: evaluate as condition: use operators and parentheses, return a "
@@ -1641,7 +1644,8 @@ msgstr ""
msgid "" msgid ""
"expression: expression to evaluate, variables with format ${variable} are " "expression: expression to evaluate, variables with format ${variable} are "
"replaced (see below)" "replaced (see below)"
msgstr "ifade: Değerlendirilecek ifade, ${variable} biçimindeki değişkenler " msgstr ""
"ifade: Değerlendirilecek ifade, ${variable} biçimindeki değişkenler "
"değerlendirilir (aşağıya bakın)" "değerlendirilir (aşağıya bakın)"
msgid "operator: a logical or comparison operator (see below)" msgid "operator: a logical or comparison operator (see below)"
@@ -1650,7 +1654,8 @@ msgstr "işleç: bir mantıksal veya karşılaştırma işleci (aşağıya bakı
msgid "" msgid ""
"An expression is considered as \"true\" if it is not NULL, not empty, and " "An expression is considered as \"true\" if it is not NULL, not empty, and "
"different from \"0\"." "different from \"0\"."
msgstr "Bir ifade; NULL veya boş değilse ve \"0\"dan farklıysa \"true\" olarak " msgstr ""
"Bir ifade; NULL veya boş değilse ve \"0\"dan farklıysa \"true\" olarak "
"değerlendirilir." "değerlendirilir."
msgid "" msgid ""
@@ -1928,16 +1933,17 @@ msgid " !~ is NOT matching POSIX extended regex"
msgstr " !~ eşleşen POSIX genişletilmiş düzenli ifadesi DEĞİL" msgstr " !~ eşleşen POSIX genişletilmiş düzenli ifadesi DEĞİL"
msgid " ==* is matching mask, case-sensitive (wildcard \"*\" is allowed)" msgid " ==* is matching mask, case-sensitive (wildcard \"*\" is allowed)"
msgstr " ==* eşleşen maske, BÜYÜK/küçük harf duyarlı (\"*\" jokerine izin " msgstr ""
"verilir)" " ==* eşleşen maske, BÜYÜK/küçük harf duyarlı (\"*\" jokerine izin verilir)"
msgid " !!* is NOT matching mask, case-sensitive (wildcard \"*\" is allowed)" msgid " !!* is NOT matching mask, case-sensitive (wildcard \"*\" is allowed)"
msgstr " !!* eşleşen maske DEĞİL, BÜYÜK/küçük harf duyarlı (\"*\" jokerine " msgstr ""
"izin verilir)" " !!* eşleşen maske DEĞİL, BÜYÜK/küçük harf duyarlı (\"*\" jokerine izin "
"verilir)"
msgid " =* is matching mask, case-insensitive (wildcard \"*\" is allowed)" msgid " =* is matching mask, case-insensitive (wildcard \"*\" is allowed)"
msgstr " =* eşleşen maske, BÜYÜK/küçük harf duyarsız (\"*\" jokerine izin " msgstr ""
"verilir)" " =* eşleşen maske, BÜYÜK/küçük harf duyarsız (\"*\" jokerine izin verilir)"
msgid "" msgid ""
" !* is NOT matching mask, case-insensitive (wildcard \"*\" is allowed)" " !* is NOT matching mask, case-insensitive (wildcard \"*\" is allowed)"
@@ -2389,9 +2395,8 @@ msgid ""
"<name> <new_name> || refresh <name>|<mask>... || recreate <name> || del " "<name> <new_name> || refresh <name>|<mask>... || recreate <name> || del "
"<name>|<mask>..." "<name>|<mask>..."
msgstr "" msgstr ""
"list || add|addreplace <ad> \"<koşullar>\" \"<içerik>\" || rename " "list || add|addreplace <ad> \"<koşullar>\" \"<içerik>\" || rename <ad> "
"<ad> <yeni_ad> || refresh <ad>|<maske>... || recreate <ad> || del " "<yeni_ad> || refresh <ad>|<maske>... || recreate <ad> || del <ad>|<maske>..."
"<ad>|<maske>..."
msgid "raw[list]: list all custom bar items" msgid "raw[list]: list all custom bar items"
msgstr "raw[list]: Tüm özel çubuk ögelerini listele" msgstr "raw[list]: Tüm özel çubuk ögelerini listele"
@@ -2408,7 +2413,8 @@ msgstr "ad: Özel çubuk ögesi adı"
msgid "" msgid ""
"conditions: evaluated conditions to display the bar item (for example to " "conditions: evaluated conditions to display the bar item (for example to "
"display the bar item only in specific buffers)" "display the bar item only in specific buffers)"
msgstr "koşullar: Çubuk ögesini görüntülemek için değerlendirilmiş koşullar " msgstr ""
"koşullar: Çubuk ögesini görüntülemek için değerlendirilmiş koşullar "
"(örneğin, çubuk ögesini yalnızca belirli arabelleklerde görüntülemek için)" "(örneğin, çubuk ögesini yalnızca belirli arabelleklerde görüntülemek için)"
msgid "content: content (evaluated, see /help eval)" msgid "content: content (evaluated, see /help eval)"
@@ -2467,9 +2473,9 @@ msgid ""
msgstr "" msgstr ""
"[list|listdefault|listdiff] [<içerik>] || bind <düğme> [<komut> " "[list|listdefault|listdiff] [<içerik>] || bind <düğme> [<komut> "
"[<argümanlar>]] || bindctxt <içerik> <düğme> [<komut> [<argümanlar>]] || " "[<argümanlar>]] || bindctxt <içerik> <düğme> [<komut> [<argümanlar>]] || "
"unbind <düğme> || unbindctxt <içerik> <düğme> || reset <düğme> || " "unbind <düğme> || unbindctxt <içerik> <düğme> || reset <düğme> || resetctxt "
"resetctxt <içerik> <düğme> || resetall -yes [<içerik>] || missing [<içerik>] " "<içerik> <düğme> || resetall -yes [<içerik>] || missing [<içerik>] || legacy "
"|| legacy <düğme>..." "<düğme>..."
msgid "raw[list]: list all current keys" msgid "raw[list]: list all current keys"
msgstr "" msgstr ""
@@ -4714,12 +4720,12 @@ msgid ""
"messages from nick \"FlashCode\", \"irc_notice+nick_toto*\" for notices from " "messages from nick \"FlashCode\", \"irc_notice+nick_toto*\" for notices from "
"a nick starting with \"toto\"" "a nick starting with \"toto\""
msgstr "" msgstr ""
"vurgulanacak künyelerin virgülle ayrılmış listesi; BÜYÜK/küçük harf " "vurgulanacak künyelerin virgülle ayrılmış listesi; BÜYÜK/küçük harf duyarsız "
"duyarsız karşılaştırma; her bir künyede \"*\" jokerine izin verilir; " "karşılaştırma; her bir künyede \"*\" jokerine izin verilir; künyeler "
"künyeler arasında mantıksal \"and\" yapmak için künyeleri \"+\" ile " "arasında mantıksal \"and\" yapmak için künyeleri \"+\" ile ayırabilirsiniz; "
"ayırabilirsiniz; örnekler: \"GazMan\" takma adından iletiler için " "örnekler: \"GazMan\" takma adından iletiler için \"nick_gazman\", \"toto\" "
"\"nick_gazman\", \"toto\" ile başlayan bir takma addan gelecek bildirimler " "ile başlayan bir takma addan gelecek bildirimler için "
"için \"irc_notice+nick_toto\"" "\"irc_notice+nick_toto\""
msgid "" msgid ""
"conditions to add a buffer in hotlist (if notify level is OK for the " "conditions to add a buffer in hotlist (if notify level is OK for the "
@@ -11969,8 +11975,8 @@ msgid ""
"allowed in tags; an empty value allows highlight on any tag" "allowed in tags; an empty value allows highlight on any tag"
msgstr "" msgstr ""
"vurgulamayı irc arabelleklerindeki bu künyelere sınırla (kullanıcı " "vurgulamayı irc arabelleklerindeki bu künyelere sınırla (kullanıcı "
"iletilerinde vurgulama olup sunucu iletilerinde olmaması için); künyeler " "iletilerinde vurgulama olup sunucu iletilerinde olmaması için); künyeler bir "
"bir virgülle ayrılmalıdır ve \"+\" künyeler arasında mantıksal bir \"and\" " "virgülle ayrılmalıdır ve \"+\" künyeler arasında mantıksal bir \"and\" "
"yapmak için kullanılabilir; künyelerde \"*\" jokerine izin verilir; boş bir " "yapmak için kullanılabilir; künyelerde \"*\" jokerine izin verilir; boş bir "
"değer herhangi bir künyede vurgulamaya izin verir" "değer herhangi bir künyede vurgulamaya izin verir"
@@ -12701,17 +12707,17 @@ msgid ""
"\"channel\" was not found), \"pos_text\": index of \"text\" message (\"-1\" " "\"channel\" was not found), \"pos_text\": index of \"text\" message (\"-1\" "
"if \"text\" was not found)" "if \"text\" was not found)"
msgstr "" msgstr ""
"\"tags\": künyeler, \"tag_xxx\": künyenin kaçırılmamış değeri \"xxx\" " "\"tags\": künyeler, \"tag_xxx\": künyenin kaçırılmamış değeri \"xxx\" (künye "
"(künye başına bir anahtar), \"message_without_tags\": künyesiz ileti, " "başına bir anahtar), \"message_without_tags\": künyesiz ileti, \"nick\": "
"\"nick\": takma ad, \"user\": kullanıcı adı, \"host\": makine, \"command\": " "takma ad, \"user\": kullanıcı adı, \"host\": makine, \"command\": komut, "
"komut, \"channel\": kanal, \"arguments\": argümanlar (kanalı içerir), " "\"channel\": kanal, \"arguments\": argümanlar (kanalı içerir), \"text\": "
"\"text\": metin (örneğin: kullanıcı iletisi), \"param1\" ... \"paramN\": " "metin (örneğin: kullanıcı iletisi), \"param1\" ... \"paramN\": ayrıştırılmış "
"ayrıştırılmış komut parametreleri, \"num_params\": ayrıştırılmış komut " "komut parametreleri, \"num_params\": ayrıştırılmış komut parametrelerinin "
"parametrelerinin sayısı, \"pos_command\": \"command\" iletisinin indeksi " "sayısı, \"pos_command\": \"command\" iletisinin indeksi (komut bulunamazsa "
"(komut bulunamazsa \"-1\"), \"pos_arguments\": \"arguments\" iletisinin " "\"-1\"), \"pos_arguments\": \"arguments\" iletisinin indeksi (\"arguments\" "
"indeksi (\"arguments\" bulunamazsa \"-1\"), \"pos_channel\": \"channel\" " "bulunamazsa \"-1\"), \"pos_channel\": \"channel\" iletisinin indeksi "
"iletisinin indeksi (\"channel\" bulunamazsa \"-1\"), \"pos_text\": \"text\" " "(\"channel\" bulunamazsa \"-1\"), \"pos_text\": \"text\" iletisinin indeksi "
"iletisinin indeksi (\"text\" bulunamazsa \"-1\")" "(\"text\" bulunamazsa \"-1\")"
msgid "split an IRC message (to fit in 512 bytes by default)" msgid "split an IRC message (to fit in 512 bytes by default)"
msgstr "bir IRC iletisini böl (öntanımlı olarak 512 bayt'a sığması için)" msgstr "bir IRC iletisini böl (öntanımlı olarak 512 bayt'a sığması için)"
@@ -14938,6 +14944,11 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "%s%s: \"%s\" komutu yürütülemedi, %s%s%s istemcisi için" msgstr "%s%s: \"%s\" komutu yürütülemedi, %s%s%s istemcisi için"
#, fuzzy, c-format
#| msgid "%s%s: invalid websocket handshake received for client %s%s%s"
msgid "%s%s: invalid data received from client %s%s%s"
msgstr "%s%s: %s%s%s istemcisi için geçersiz web soketi el sıkışması alındı"
#, fuzzy, c-format #, fuzzy, c-format
#| msgid "%s%s: unable to create socket" #| msgid "%s%s: unable to create socket"
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
+5 -1
View File
@@ -23,7 +23,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WeeChat\n" "Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2025-06-30 09:32+0200\n" "POT-Creation-Date: 2025-08-16 19:26+0200\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -12259,6 +12259,10 @@ msgstr ""
msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s" msgid "%s%s: failed to execute route \"%s %s\" for client %s%s%s"
msgstr "" msgstr ""
#, c-format
msgid "%s%s: invalid data received from client %s%s%s"
msgstr ""
#, c-format #, c-format
msgid "%sremote[%s]: unable to send data, disconnecting" msgid "%sremote[%s]: unable to send data, disconnecting"
msgstr "" msgstr ""
+28 -14
View File
@@ -1356,10 +1356,11 @@ relay_api_protocol_recv_http (struct t_relay_client *client)
} }
resource_not_found: resource_not_found:
if ((strcmp (client->http_req->method, "GET") != 0) if (!client->http_req->method
&& (strcmp (client->http_req->method, "POST") != 0) || ((strcmp (client->http_req->method, "GET") != 0)
&& (strcmp (client->http_req->method, "PUT") != 0) && (strcmp (client->http_req->method, "POST") != 0)
&& (strcmp (client->http_req->method, "DELETE") != 0)) && (strcmp (client->http_req->method, "PUT") != 0)
&& (strcmp (client->http_req->method, "DELETE") != 0)))
{ {
goto error_method_not_allowed; goto error_method_not_allowed;
} }
@@ -1392,15 +1393,28 @@ error_memory:
error: error:
if (weechat_relay_plugin->debug >= 1) if (weechat_relay_plugin->debug >= 1)
{ {
weechat_printf (NULL, if (client->http_req->method && client->http_req->path)
_("%s%s: failed to execute route \"%s %s\" " {
"for client %s%s%s"), weechat_printf (NULL,
weechat_prefix ("error"), _("%s%s: failed to execute route \"%s %s\" "
RELAY_PLUGIN_NAME, "for client %s%s%s"),
client->http_req->method, weechat_prefix ("error"),
client->http_req->path, RELAY_PLUGIN_NAME,
RELAY_COLOR_CHAT_CLIENT, client->http_req->method,
client->desc, client->http_req->path,
RELAY_COLOR_CHAT); RELAY_COLOR_CHAT_CLIENT,
client->desc,
RELAY_COLOR_CHAT);
}
else
{
weechat_printf (NULL,
_("%s%s: invalid data received from client %s%s%s"),
weechat_prefix ("error"),
RELAY_PLUGIN_NAME,
RELAY_COLOR_CHAT_CLIENT,
client->desc,
RELAY_COLOR_CHAT);
}
} }
} }
+2 -2
View File
@@ -41,8 +41,8 @@
# devel-number the devel version as hex number ("0x04010000" for "4.1.0-dev") # devel-number the devel version as hex number ("0x04010000" for "4.1.0-dev")
# #
weechat_stable="4.7.0" weechat_stable="4.7.1"
weechat_devel="4.7.0" weechat_devel="4.7.1"
stable_major=$(echo "${weechat_stable}" | cut -d"." -f1) stable_major=$(echo "${weechat_stable}" | cut -d"." -f1)
stable_minor=$(echo "${weechat_stable}" | cut -d"." -f2) stable_minor=$(echo "${weechat_stable}" | cut -d"." -f2)