eww form submission fails in google search (#1325639)

Also, since I messed up versioning in the previous commit, bump release
to 10. It should be 8, because the last built package was 7, but it
would make the changelog look inconsistent.

Resolves: #1325639
This commit is contained in:
Jan Synacek 2016-04-11 12:38:03 +02:00
parent f8f9ee8fd5
commit 2d93e83b0a
2 changed files with 18 additions and 1 deletions

11
emacs-eww-submit.patch Normal file
View File

@ -0,0 +1,11 @@
--- a/lisp/net/eww.el 2016-04-11 12:30:43.233531429 +0200
+++ b/lisp/net/eww.el 2015-04-02 09:23:06.000000000 +0200
@@ -1001,7 +1001,7 @@
(when (and (consp elem)
(eq (car elem) 'hidden))
(push (cons (plist-get (cdr elem) :name)
- (plist-get (cdr elem) :value))
+ (or (plist-get (cdr elem) :value) ""))
values)))
(if (and (stringp (cdr (assq :method form)))
(equal (downcase (cdr (assq :method form))) "post"))

View File

@ -5,7 +5,7 @@ Summary: GNU Emacs text editor
Name: emacs Name: emacs
Epoch: 1 Epoch: 1
Version: 24.5 Version: 24.5
Release: 7%{?dist} Release: 10%{?dist}
License: GPLv3+ and CC0-1.0 License: GPLv3+ and CC0-1.0
URL: http://www.gnu.org/software/emacs/ URL: http://www.gnu.org/software/emacs/
Group: Applications/Editors Group: Applications/Editors
@ -33,6 +33,8 @@ Patch6: emacs-mercurial.patch
# http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=439f483be35a000e7a3bec6acf395ce4d54d6323 # http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=439f483be35a000e7a3bec6acf395ce4d54d6323
# http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9c86325b69d75e9b17ff468f5a2220597979635f # http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=9c86325b69d75e9b17ff468f5a2220597979635f
Patch7: emacs-gdb-ascii.patch Patch7: emacs-gdb-ascii.patch
# http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cc6340495d3ec78dea0b906dccfea90973fbeb12
Patch8: emacs-eww-submit.patch
BuildRequires: atk-devel BuildRequires: atk-devel
BuildRequires: cairo-devel BuildRequires: cairo-devel
@ -198,6 +200,7 @@ packages that add functionality to Emacs.
%patch5 -p1 -b .bbdb %patch5 -p1 -b .bbdb
%patch6 -p1 %patch6 -p1
%patch7 -p1 %patch7 -p1
%patch8 -p1
autoconf autoconf
# We prefer our emacs.desktop file # We prefer our emacs.desktop file
@ -487,6 +490,9 @@ update-desktop-database &> /dev/null || :
%dir %{_datadir}/emacs/site-lisp/site-start.d %dir %{_datadir}/emacs/site-lisp/site-start.d
%changelog %changelog
* Mon Apr 11 2016 Jan Synáček <jsynacek@redhat.com> - 1:24.5-10
- eww form submission fails in google search (#1325639)
* Tue Feb 2 2016 Jan Synáček <jsynacek@redhat.com> - 1:24.5-9 * Tue Feb 2 2016 Jan Synáček <jsynacek@redhat.com> - 1:24.5-9
- emacs "deadlocked" after using mercurial with huge amounts of ignored files in the repository (#1232422) - emacs "deadlocked" after using mercurial with huge amounts of ignored files in the repository (#1232422)
- GDB interface gets confused by non-ASCII (#1283412) - GDB interface gets confused by non-ASCII (#1283412)