projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1993c4e
)
Fix whitespace regexp in gnus-base64-repad
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 30 Sep 2020 03:05:04 +0000
(
05:05
+0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 30 Sep 2020 03:05:09 +0000
(
05:05
+0200)
* lisp/gnus/gnus-util.el (gnus-base64-repad): Fix the whitespace
regexp.
lisp/gnus/gnus-util.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/gnus-util.el
b/lisp/gnus/gnus-util.el
index e98af10e1a072c74c6e977d323bb238a0979a441..0e15ebce6c6c224ed6aacc67b6a198a86334a54e 100644
(file)
--- a/
lisp/gnus/gnus-util.el
+++ b/
lisp/gnus/gnus-util.el
@@
-1368,7
+1368,7
@@
CRLF (RFC 5321 SMTP)."
;; input (3.1, 3.3)
;; - if line-length is set, error on input exceeding the limit (3.1)
;; - reject characters outside base encoding (3.3, also section 12)
- (let ((splitstr (split-string str "
\\s-
+" t)))
+ (let ((splitstr (split-string str "
[\n\r \t]
+" t)))
(when (and reject-newlines (> (length splitstr) 1))
(error "Invalid Base64 string"))
(dolist (substr splitstr)