From 645a4e68f0f08d432b73f1112c09c32a59e15f8e Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Thu, 9 May 2024 07:53:43 +1000 Subject: [PATCH] =?UTF-8?q?Multi-edit=20urlencode=20#660=20=E2=9C=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/multiEditCore.php | 2 +- front/plugins/internet_ip/README.md | 5 ++++- front/plugins/internet_ip/config.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/front/multiEditCore.php b/front/multiEditCore.php index 7e5fe502..7ea02745 100755 --- a/front/multiEditCore.php +++ b/front/multiEditCore.php @@ -256,7 +256,7 @@ columnValue = inputElement.is(':checked') ? 1 : 0; } else { // For other input types (like textboxes), simply retrieve their values - columnValue = inputElement.val(); + columnValue = encodeURIComponent(inputElement.val()); } var targetColumns = inputElement.attr('data-my-targetColumns'); diff --git a/front/plugins/internet_ip/README.md b/front/plugins/internet_ip/README.md index 4d4b08fe..79fb8cc6 100755 --- a/front/plugins/internet_ip/README.md +++ b/front/plugins/internet_ip/README.md @@ -1,6 +1,9 @@ ## Overview -Plugin to run regular Internet connectivity and IP checks. +Plugin to run regular Internet connectivity and IP checks. Change the [dig utility](https://linux.die.net/man/1/dig) arguments if you have issues resolving your Internet IP. Arguments are added at the end of the following command: `dig +short`. Tested with: + +- `@ns1.google.com -t txt o-o.myaddr.l.google.com` +- `-4 myip.opendns.com @resolver1.opendns.com` ### Usage diff --git a/front/plugins/internet_ip/config.json b/front/plugins/internet_ip/config.json index 496d8b46..8adacb53 100755 --- a/front/plugins/internet_ip/config.json +++ b/front/plugins/internet_ip/config.json @@ -170,7 +170,7 @@ "description": [ { "language_code": "en_us", - "string": "Change the dig utility arguments if you have issues resolving your Internet IP. Arguments are added at the end of the following command: dig +short ." + "string": "Change the dig utility arguments if you have issues resolving your Internet IP. Arguments are added at the end of the following command: dig +short . Tested with:
" }, { "language_code": "es_es",