Commit cc634049 authored by Brian McKenna's avatar Brian McKenna Committed by Ted Zlatanov
Browse files

* net/eww.el (eww-submit): Encode empty form values as "".

parent 7188af32
2014-11-02 Brian McKenna <brian@brianmckenna.org> (tiny change)
* net/eww.el (eww-submit): Encode empty form values as "".
2014-11-02 Ivan Shmakov <ivan@siamics.net>
 
* net/eww.el (eww): Allow "file:/file/name" URLs.
......
......@@ -1006,7 +1006,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.")
(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"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment