From 9e745192f19dda1328231c680ee17275c3c89932 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 5 May 2023 10:18:52 +0100 Subject: Resolves: tdf#154337 allow submitting to file: if user agrees MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit continue to allow submitting to http[s]: without further interaction. Don't allow for other protocols, except for file: where the user has to agree via dialog prompt. Change-Id: Ia915f4f33d5dba621971ce69a156c339da933b55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151418 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- forms/inc/strings.hrc | 1 + 1 file changed, 1 insertion(+) (limited to 'forms/inc') diff --git a/forms/inc/strings.hrc b/forms/inc/strings.hrc index 07d39970c403..bc822b96ef55 100644 --- a/forms/inc/strings.hrc +++ b/forms/inc/strings.hrc @@ -82,5 +82,6 @@ #define RID_STR_XFORMS_PATTERN_DOESNT_MATCH NC_("RID_STR_XFORMS_PATTERN_DOESNT_MATCH", "The string '$1' does not match the required regular expression '$2'.") #define RID_STR_XFORMS_BINDING_UI_NAME NC_("RID_STR_XFORMS_BINDING_UI_NAME", "Binding" ) #define RID_STR_XFORMS_CANT_REMOVE_TYPE NC_("RID_STR_XFORMS_CANT_REMOVE_TYPE", "This is a built-in type and cannot be removed." ) +#define RID_STR_XFORMS_WARN_TARGET_IS_FILE NC_("RID_STR_XFORMS_WARN_TARGET_IS_FILE", "Are you sure you want to write to local file \"$\"?" ) /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit