summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/fvwm/files/fvwm-2.5.8-fvwm-menu-directory-security.diff')
-rw-r--r--x11-wm/fvwm/files/fvwm-2.5.8-fvwm-menu-directory-security.diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-wm/fvwm/files/fvwm-2.5.8-fvwm-menu-directory-security.diff b/x11-wm/fvwm/files/fvwm-2.5.8-fvwm-menu-directory-security.diff
index fcc1e398becd..6842a21f25c7 100644
--- a/x11-wm/fvwm/files/fvwm-2.5.8-fvwm-menu-directory-security.diff
+++ b/x11-wm/fvwm/files/fvwm-2.5.8-fvwm-menu-directory-security.diff
@@ -4,7 +4,7 @@
$name =~ s/%/%%/g;
$name =~ s/&/&&/g;
$name =~ s/\*/**/g;
-+ $name =~ s/\n/ /g;
++ $name =~ s/\n/\?/g;
$name;
}
@@ -12,7 +12,7 @@
$name =~ s/\\/\\\\/g;
$name =~ s/"/\\"/g;
$name =~ s/\$/\\\$\$/g;
-+ $name =~ s/\n/\\n/g;
++ $name =~ s/\n/\"\?\"/g;
$name;
}