[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/url/url-util.el
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/url/url-util.el |
Date: |
Thu, 01 Sep 2005 12:38:40 -0400 |
Index: emacs/lisp/url/url-util.el
diff -c emacs/lisp/url/url-util.el:1.10 emacs/lisp/url/url-util.el:1.11
*** emacs/lisp/url/url-util.el:1.10 Sat Aug 6 15:55:38 2005
--- emacs/lisp/url/url-util.el Thu Sep 1 16:38:39 2005
***************
*** 270,276 ****
(t (file-name-directory file))))
;;;###autoload
! (defun url-parse-query-string (query &optional downcase)
(let (retval pairs cur key val)
(setq pairs (split-string query "&"))
(while pairs
--- 270,276 ----
(t (file-name-directory file))))
;;;###autoload
! (defun url-parse-query-string (query &optional downcase allow-newlines)
(let (retval pairs cur key val)
(setq pairs (split-string query "&"))
(while pairs
***************
*** 278,285 ****
pairs (cdr pairs))
(if (not (string-match "=" cur))
nil ; Grace
! (setq key (url-unhex-string (substring cur 0 (match-beginning 0)))
! val (url-unhex-string (substring cur (match-end 0) nil)))
(if downcase
(setq key (downcase key)))
(setq cur (assoc key retval))
--- 278,287 ----
pairs (cdr pairs))
(if (not (string-match "=" cur))
nil ; Grace
! (setq key (url-unhex-string (substring cur 0 (match-beginning 0))
! allow-newlines))
! (setq val (url-unhex-string (substring cur (match-end 0) nil)
! allow-newlines))
(if downcase
(setq key (downcase key)))
(setq cur (assoc key retval))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/url/url-util.el,
Chong Yidong <=