# HG changeset patch # User Juanma Barranquero # Date 1201275785 0 # Node ID fdac3d75dcdb6716877cfc79fa03f8b6a788ee6d # Parent 10a88d763b886bf7b01fb71901670419247a552c (server-process-filter): Don't force the authentication string to be followed by "\n". diff -r 10a88d763b88 -r fdac3d75dcdb lisp/server.el --- a/lisp/server.el Fri Jan 25 14:09:57 2008 +0000 +++ b/lisp/server.el Fri Jan 25 15:43:05 2008 +0000 @@ -767,7 +767,7 @@ (server-log (concat "Received " string) proc) ;; First things first: let's check the authentication (unless (process-get proc :authenticated) - (if (and (string-match "-auth \\(.*?\\)\n" string) + (if (and (string-match "-auth \\([!-~]+\\)\n?" string) (equal (match-string 1 string) (process-get proc :auth-key))) (progn (setq string (substring string (match-end 0)))