diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-05-05 10:18:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-05-05 15:51:53 +0200 |
commit | 9e745192f19dda1328231c680ee17275c3c89932 (patch) | |
tree | d4c304583c15e77e3bbc881980f9a4119927feac /forms/inc | |
parent | 87cefcdce6a02044e61c3173777b4546f3ad39f6 (diff) |
Resolves: tdf#154337 allow submitting to file: if user agrees
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 <caolanm@redhat.com>
Diffstat (limited to 'forms/inc')
-rw-r--r-- | forms/inc/strings.hrc | 1 |
1 files changed, 1 insertions, 0 deletions
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: */ |