aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiles Bader2006-11-20 02:43:10 +0000
committerMiles Bader2006-11-20 02:43:10 +0000
commitb07e014310fd5536f85ffff82ec87ccacd2992ba (patch)
tree93b29c65ee2665e2c757fc9db2afd6df12db4144
parentb98f7445751fdaf08c83d47542d756812a1efcd2 (diff)
downloademacs-b07e014310fd5536f85ffff82ec87ccacd2992ba.tar.gz
emacs-b07e014310fd5536f85ffff82ec87ccacd2992ba.zip
Merge from gnus--rel--5.10
Patches applied: * gnus--rel--5.10 (patch 167) - Update from CVS 2006-11-18 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> * lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1): Make last fix more thorough and comment it. * lisp/gnus/nnslashdot.el (nnslashdot-retrieve-headers-1): Update regexp. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-518
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/gnus/mm-uu.el12
-rw-r--r--lisp/gnus/nnslashdot.el2
3 files changed, 18 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 95e8bff4d16..196c0e6ff71 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,10 @@
12006-11-18 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de>
2
3 * mm-uu.el (mm-uu-pgp-signed-extract-1): Make last fix more thorough
4 and comment it.
5
6 * nnslashdot.el (nnslashdot-retrieve-headers-1): Update regexp.
7
12006-11-15 Reiner Steib <Reiner.Steib@gmx.de> 82006-11-15 Reiner Steib <Reiner.Steib@gmx.de>
2 9
3 * gnus-util.el (gnus-extract-address-components): Improve comment. 10 * gnus-util.el (gnus-extract-address-components): Improve comment.
diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el
index b1ed0b7af4e..311dce0d1b2 100644
--- a/lisp/gnus/mm-uu.el
+++ b/lisp/gnus/mm-uu.el
@@ -373,8 +373,16 @@ Return that buffer."
373 mm-security-handle 'gnus-details 373 mm-security-handle 'gnus-details
374 (format "Clear verification not supported by `%s'.\n" mml2015-use)))) 374 (format "Clear verification not supported by `%s'.\n" mml2015-use))))
375 (goto-char (point-min)) 375 (goto-char (point-min))
376 (if (re-search-forward "\n[\t ]*\n" nil t) 376 (forward-line)
377 (delete-region (point-min) (point))) 377 ;; We need to be careful not to strip beyond the armor headers.
378 ;; Previously, an attacker could replace the text inside our
379 ;; markup with trailing garbage by injecting whitespace into the
380 ;; message.
381 (while (looking-at "Hash:") ; The only header allowed in cleartext
382 (forward-line)) ; signatures according to RFC2440.
383 (when (looking-at "[\t ]*$")
384 (forward-line))
385 (delete-region (point-min) (point))
378 (if (re-search-forward mm-uu-pgp-beginning-signature nil t) 386 (if (re-search-forward mm-uu-pgp-beginning-signature nil t)
379 (delete-region (match-beginning 0) (point-max))) 387 (delete-region (match-beginning 0) (point-max)))
380 (goto-char (point-min)) 388 (goto-char (point-min))
diff --git a/lisp/gnus/nnslashdot.el b/lisp/gnus/nnslashdot.el
index 37ecaf0f32b..0b19fd0ead6 100644
--- a/lisp/gnus/nnslashdot.el
+++ b/lisp/gnus/nnslashdot.el
@@ -142,7 +142,7 @@
142 (setq article (if (and article (< start article)) article start)) 142 (setq article (if (and article (< start article)) article start))
143 (goto-char point) 143 (goto-char point)
144 (while (re-search-forward 144 (while (re-search-forward
145 "<a name=\"\\([0-9]+\\)\">\\([^<]+\\)</a>.*\n.*\n.*score:\\([^)]+\\))" 145 "<a name=\"\\([0-9]+\\)\">\\([^<]+\\)\\(?:.*\n\\)\\{2,10\\}.*score:\\([^)]+\\))"
146 nil t) 146 nil t)
147 (setq cid (match-string 1) 147 (setq cid (match-string 1)
148 subject (match-string 2) 148 subject (match-string 2)