Skip to content

Commit c2296eb

Browse files
committed
[#2195] fix: Remove settings form input sanitization as it was creating issues when saving settings
1 parent 2fc88ca commit c2296eb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
- [BUGFIX] Fix draft services deletion when editing the global config in the web UI
66
- [BUGFIX] Enhance the `Let's Encrypt` plugin's Cloudflare Provider with default values and validation for credentials to avoid having to set all of them all the time (`api_token` or `email` and `api_key`)
7+
- [BUGFIX] Remove settings form input sanitization as it was creating issues when saving settings in the web UI
78
- [FEATURE] Add the possibility to choose a profile when generating certificates with Let's Encrypt using the `LETS_ENCRYPT_PROFILE` setting (`classic` (default), `tlsserver` for server-only validation, and `shortlived` for reduced 7-day validity) to provide flexibility in certificate configuration based on security requirements
89
- [FEATURE] Add the possibility to declare custom certificates and keys data as plaintext as well as base64-encoded data in the `customcert` plugin using the `CUSTOM_SSL_CERT_DATA` and `CUSTOM_SSL_KEY_DATA` settings
910
- [FEATURE] Add `IONOS` as a DNS provider in the `letsencrypt` plugin

src/ui/app/static/js/plugins-settings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ $(document).ready(() => {
403403
$("<input>", {
404404
type: "hidden",
405405
name: name,
406-
value: $("<div>").text(value).html(), // Sanitize the value
406+
value: value,
407407
}),
408408
);
409409
};

0 commit comments

Comments
 (0)