[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 57029f3: Make chunked encoding trailer detection
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 57029f3: Make chunked encoding trailer detection more compliant |
Date: |
Mon, 28 Dec 2015 19:55:39 +0000 |
branch: emacs-25
commit 57029f3d84232584ae43791f7b8d8804d516eadd
Author: James Stout <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Make chunked encoding trailer detection more compliant
* lisp/url/url-http.el
(url-http-chunked-encoding-after-change-function): Make
trailer detection more compliant (bug#16345).
Copyright-paperwork-exempt: yes
---
lisp/url/url-http.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index b65affe..c5b6ef3 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1056,7 +1056,7 @@ the end of the document."
(when (looking-at "\r?\n")
(url-http-debug "Removing terminator of last chunk")
(delete-region (match-beginning 0) (match-end 0)))
- (if (re-search-forward "^\r*$" nil t)
+ (if (re-search-forward "^\r?\n" nil t)
(url-http-debug "Saw end of trailers..."))
(if (url-http-parse-headers)
(url-http-activate-callback))))))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 57029f3: Make chunked encoding trailer detection more compliant,
Lars Ingebrigtsen <=