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))


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to