Skip to content

Commit

Permalink
Merge pull request 'Fix verification string computation.' (legoscia#38)…
Browse files Browse the repository at this point in the history
… from hdasch/emacs-jabber:fix-caps-ver-string into production

Fix issue legoscia#37, a runtime error generally masked unless running non-nil debug-on-error.  Even then, this is an infrequent error provoked by Psi+ clients.

Intention to merge mentioned on xmpp:jabber-el.

Reviewed-on: https://codeberg.org/emacs-jabber/emacs-jabber/pulls/38
  • Loading branch information
Hugh Daschbach committed May 21, 2024
2 parents fcff391 + 8e4b72a commit 9e7bebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/jabber-disco.el
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ obtained from `xml-parse-region'."
;; For each <value/> element, append the XML character
;; data, followed by the '<' character.
(dolist (value values)
(insert value "<"))))))))
(insert (or value "") "<"))))))))

;; 8. Ensure that S is encoded according to the UTF-8 encoding
;; (RFC 3269 [18]).
Expand Down

0 comments on commit 9e7bebf

Please sign in to comment.