From: Claudio Date: Thu, 23 May 2024 21:53:01 +0000 (+0200) Subject: Extend CORS origin help/hover message X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6b1d5ffbaa59956aeea7a9ace2410638cbcc211;p=thirdparty%2Ftvheadend.git Extend CORS origin help/hover message Clarify that the value should be a URL, prefixed with http:// or https://, and not "bare" domains, which currently silently fail to save. Fixes (partially) #1700. --- diff --git a/src/config.c b/src/config.c index ca4fff906..d5926df64 100644 --- a/src/config.c +++ b/src/config.c @@ -2527,8 +2527,8 @@ const idclass_t config_class = { .name = N_("CORS origin"), .desc = N_("HTTP CORS (cross-origin resource sharing) origin. This " "option is usually set when Tvheadend is behind a " - "proxy. Enter a domain (or IP) to allow " - "cross-domain requests."), + "proxy. Enter the URL (domain or IP address, prefixed " + "with http:// or https://) to allow cross-domain requests."), .set = config_class_cors_origin_set, .off = offsetof(config_t, cors_origin), .opts = PO_EXPERT,