From 1803ff765948c9775cff20f08dbe9fadc721f15b Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Mon, 3 Dec 1990 15:55:07 +0000 Subject: [PATCH] Make it backquote tabs and backslashes in the realm name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1526 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/unparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/krb5/krb/unparse.c b/src/lib/krb5/krb/unparse.c index 380591acc..f749bb18d 100644 --- a/src/lib/krb5/krb/unparse.c +++ b/src/lib/krb5/krb/unparse.c @@ -119,6 +119,8 @@ int *size; switch (*cp) { case COMPONENT_SEP: case REALM_SEP: + case '\t': + case '\\': *q++ = '\\'; *q++ = *cp; break; -- 2.26.2