- Patch #278 - 2012/01/18 - Patch #277 - 2012/01/07 OBS-URL: https://build.opensuse.org/request/show/100762 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/xterm?expand=0&rev=30
30 lines
963 B
Diff
30 lines
963 B
Diff
Index: XTerm.ad
|
|
===================================================================
|
|
--- XTerm.ad.orig
|
|
+++ XTerm.ad
|
|
@@ -258,6 +258,11 @@
|
|
! Alternatively,
|
|
!*on2Clicks: regex [[:alpha:]]+://([[:alnum:]!#+,./=?@_~-]|(%[[:xdigit:]][[:xdigit:]]))+
|
|
|
|
+! Security: Disallow operations that might allow raw text being pasted to xterm to
|
|
+! execute code.
|
|
+*allowWindowOps: false
|
|
+*allowFontOps: false
|
|
+
|
|
!! We want a 8bit clean xterm
|
|
*eightBitInput: true
|
|
*eightBitOutput: true
|
|
Index: xterm.man
|
|
===================================================================
|
|
--- xterm.man.orig
|
|
+++ xterm.man
|
|
@@ -1515,7 +1515,7 @@ The default is \*(``true.\*(''
|
|
.TP
|
|
.B "allowFontOps (\fPclass\fB AllowFontOps)"
|
|
Specifies whether control sequences that set/query the font should be allowed.
|
|
-The default is \*(``true\*(''.
|
|
+The default is \*(``false\*(''.
|
|
.TP 8
|
|
.B "allowScrollLock (\fPclass\fB AllowScrollLock)"
|
|
Specifies whether control sequences that set/query
|