1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-09 07:40:39 -08:00
emacs/lisp/gnus
Eli Zaretskii a103dbe360 Disable execution of unsafe Lisp by Enriched Text mode
* src/xdisp.c (handle_display_spec): If the display property is
wrapped in 'disable-eval' form, disable Lisp evaluation while
processing this property.
(handle_single_display_spec): Accept new argument ENABLE_EVAL_P.
If that argument is false, don't evaluate Lisp while processing
display properties.

* lisp/textmodes/enriched.el
(enriched-allow-eval-in-display-props): New defcustom.
(enriched-decode-display-prop): If
enriched-allow-eval-in-display-props is nil, wrap the display
property with 'disable-eval' to disable Lisp evaluation when the
display property is processed for display.  (Bug#28350)
* lisp/gnus/mm-view.el (mm-inline-text): Re-enable processing of
enriched text.

* doc/lispref/display.texi (Display Property): Document the
'disable-eval' wrapping of 'display' properties.
* doc/emacs/text.texi (Enriched Properties): Document
'enriched-allow-eval-in-display-props'.

* etc/NEWS: Describe the security issues with Enriched Text mode
and their solution.
2017-09-16 12:45:24 +03:00
..
.dir-locals.el
canlock.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ChangeLog.1 Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ChangeLog.2 Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
ChangeLog.3 ; Spelling fixes for "SpamAssassin" 2017-05-30 08:29:34 -07:00
deuglify.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gmm-utils.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-agent.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-art.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-async.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-bcklg.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-bookmark.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-cache.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-cite.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-cloud.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-cus.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-delay.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-demon.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-diary.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-dired.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-draft.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-dup.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-eform.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-fun.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-gravatar.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-group.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-html.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-icalendar.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-int.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-kill.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-logic.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-mh.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-ml.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-mlspl.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-msg.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-notifications.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-picon.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-range.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-registry.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-rfc1843.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-salt.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-score.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-sieve.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-spec.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-srvr.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-start.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-sum.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-topic.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-undo.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-util.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-uu.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-vm.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus-win.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gnus.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
gssapi.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
legacy-gnus-agent.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mail-source.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
message.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-archive.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-bodies.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-decode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-encode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-extern.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-partial.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-url.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-util.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-uu.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mm-view.el Disable execution of unsafe Lisp by Enriched Text mode 2017-09-16 12:45:24 +03:00
mml-sec.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mml-smime.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mml.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mml1991.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mml2015.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnagent.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnbabyl.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nndiary.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nndir.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nndoc.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nndraft.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nneething.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnfolder.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nngateway.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnheader.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnimap.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnir.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnmail.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnmaildir.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnmairix.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnmbox.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnmh.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnml.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnnil.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnoo.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnregistry.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnrss.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnspool.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nntp.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnvirtual.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
nnweb.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
score-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
smiley.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
smime.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
spam-report.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
spam-stat.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
spam-wash.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
spam.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00